From: Dave K. <dku...@da...> - 2017-05-03 23:26:11
|
An ODF document is a Zip file containing files such as content.xml and styles.xml. I believe I've found the places in styles.xml that need to be modified in order to change the language in the "Font" tab in the "Default Style" that you describe. So, I'll look into it. I need to study it a bit more. A question -- How can I learn what effect that change has in LibreOffice Writer? It would be helpful for me to know that so that I could test the changes I make. I'm the original implementer of rst2odt by the way. Dave K On Wed, May 03, 2017 at 05:12:01PM -0500, David Goodger wrote: > On Wed, May 3, 2017 at 5:02 PM, Matěj Cepl <mc...@ce...> wrote: > > On 2017-05-03, 21:24 GMT, David Goodger wrote: > >> On Wed, May 3, 2017 at 3:43 PM, Matěj Cepl <mc...@ce...> > >> wrote: > >>> If I run > >>> > >>> $ rst2odt -l cs kobylky.rst >kobylky.odt > >>> > >>> I would expect that kobylky.odt default style would be in the > >>> Czech language. > >> > >> What do you mean by "default style"? > > > > In LibreOffice Writer press F11 and select the root style > > (called “Default Style” in en_US locale), click other button of > > the mouse and select “Modify”. In the “Font” tab select language > > of the font. > > > > I see that it is probably not what’s meant to be the result of > > rst2odt, but it would be awesome if this value was configurable > > somehow, because I write in Czech, but I have ODT always > > generated in English. > > I don't think that was ever meant to be a feature of the Docutils ODT > Writer. You can add a Feature Request for it though. > > David Goodger > <http://python.net/~goodger> > > ------------------------------------------------------------------------------ > 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 > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. -- Dave Kuhlman http://www.davekuhlman.org |