Re: Is rst2odt -l cs supposed to work?
Dave Kuhlman <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
Matěj, Here is what I believe I fixed: 1. Images that use ":width: xx%" are scaled to the line width. Note that if, after generating the .odt file, you edit it with LibreOffice Writer, and you use menu item Format/Page to modify the page width, the image size does *not* automatically adjust. Is this a needed feature? If it is, you could try to right-click on the image and edit its properties. But, none of that seemed satisfactory to me. 2. The header/title of an admonition (for example, a note) now follows the style of the admonition header (for example, rststyle-admon-note-hdr, rststyle-admon-warning-hdr, etc). I was mistakenly using the admonition title after it had been translated (for example, to "Poznámka!") to generate the style. And, there is no style named "rststyle-admon-Poznámka!-hdr". 3. The unit test error that you found is fixed. By default, it was passing in "en" as the language, whereas now it needs to be "en-US" or to be omitted. I overrode it with "en-US". The modified files are attached to a separate message. Wow. This is turning out to be more fun than I thought it would. Please let me know if we are getting closer, what else needs fixing, etc. Dave -- 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.