Re: Is rst2odt -l cs supposed to work?

Dave Kuhlman <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Matěj,

I believe I've fixed the two issues you have reported below.

1. The image now has, I believe, a reasonable width and height.
   But, you will have to see if you agree.

2. The label of the admonition/note has been translated.

A fixed version of ``docutils/writers/odf_odt/__init__.py`` is
attached to a separate message.

You can use "-l" or "--language" and any of:

    cs-CZ
    cs_CZ
    cs-cz
    cs_cz

They all have the same effect, as far as I can tell.  But, "-l cs"
does *not* work.  I don't know whether it should or not.  You can
try "-l cs", but you end up with the language "cs-US", which I'm
guessing you do not want.

And, thanks for your guidance on this.

Dave

On Wed, May 10, 2017 at 12:24:48AM +0200, Matěj Cepl wrote:
> On Tue, 2017-05-09 at 13:28 -0700, Dave Kuhlman wrote:
> 

[snip]

> A way better but not there yet.
> 
> When running rst2odt --language=cs_CZ v_chramu.rst v_chramu.odt I
> get the attached result with two problems (PDF generated via
> rst2xetex and xelatex is correct on both counts):
> 
> 	1. image is completely screwed up
> 
> 	2. .. note:: doesn’t have the Czech label “Poznámka”
> 
> However, styles seems to be correct. Also, I am not sure, whether
> I should use cs, cs-CZ, or cs_CZ language code.
> 
> Thank you for the great work so far.
> 
> Matěj
> 

[snip]



-- 

Dave Kuhlman
http://www.davekuhlman.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.