From: Kevin H. <kev...@gm...> - 2017-05-10 18:06:37
|
Rstgen might also help: https://bitbucket.org/khorn/rstgen It was written years ago to convert some documentation from another format into restructuredText Probably I should clean it up and publish it on PyPI, but I've never managed to get around to it. On Wed, May 10, 2017 at 12:54 AM, Guenter Milde <mi...@us...> wrote: > On 2017-05-08, Jimmy Thrasibule wrote: > > > The docutils package does not come with any reStructuredText writer. How > > easy would it be to code one? > > Easy to medium. It depends on the details and knowledge of the inner > structures of Docutils. > > There is an unfinished attempt in the SVN repository tree > "lossless-rst-writer". > > > The primary use case would be to combine multiple documents into a single > > document tree and re-write the result as reStructuredText. > > > An alternative is the export to XML and conversion to rST with X > "xml2rst", an XSLT stylesheet written by Stefan Merten. > > http://www.merten-home.de/FreeSoftware/xml2rst/index.html > > Günter > > > ------------------------------------------------------------ > ------------------ > 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. > -- -- Kevin Horn |