From: Matej C. <mc...@ce...> - 2017-05-16 07:55:29
|
On 16/05/17 01:42, Dave Kuhlman wrote: > 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. I don’t think it is necessary. I believe that the primary use of rst2odt is for sharing the document for review (tracking changes and notes are working really well with LOWriter) or for providing camera-ready copies of documents for those who prefer Word-like format. For both cases I would just need to be sure that images look like when run through other rst2* programs. If somebody wants to take .odt for serious editing, she can very well make sure images work for her. > 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". Perfect. Thanks. > 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". Awesome. > 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. This works for me. As far as me I would get this let be released. Thank you very much, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ce... GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Of course I'm respectable. I'm old. Politicians, ugly buildings, and whores all get respectable if they last long enough. --John Huston in "Chinatown." |