On Wed, 30 Oct 2013 07:05:19 -0500 "Edward K. Ream" <[email protected]> wrote:
> On Mon, Oct 28, 2013 at 10:07 PM, Terry Brown <[email protected]>wrote: > > > On Mon, 28 Oct 2013 15:08:02 -0700 > > Chris George <[email protected]> wrote: > > > > > Leo --> rst --> output using docutils using rst3 command --> pandoc to > > > convert to html that LibreOffice can open correctly --> save as .odt > > > > rst2odt --strip-comments --smart-quotes=yes prog201310.rst > > >prog201310.odt > > libreoffice --headless --convert-to docx prog201310.odt > > > > .docx files from Leo. :-) > > > > I played around with this, and was able to create a OpenOffice file, and > so, presumably, a Word file. Like this:: > > commands = [ > 'rst2odt --strip-comments --smart-quotes=yes rst2odt-test.html.txt > rst2odt.odt', > '&oo rst2odt.odt', # oo.bat opens OpenOffice > ] > g.execute_shell_commands(commands,trace=True) > > I'm unclear about what the point of all this is. The .leo file "rendered" > in OpenOffice doesn't seem particularly useful. Care to enlighten me? At least I can write the first draft of a document in rst / leo nodes for organization, before having to convert it to Word to share for collaboration. Of course the structure of the document immediately gets fouled up, that's what Word's for, apparently. Cheers -Terry > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
