From: Dave K. <dku...@da...> - 2017-05-10 23:51:11
|
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 |