Convert latex to rst/sphinx

798 views
Skip to first unread message

Joris Van den Bossche

unread,
Apr 8, 2011, 8:58:29 AM4/8/11
to sphinx-dev
Hi,

I know you can easily convert your rst files to latex, but I wonder if
there is also a way to do the other way around?

The reason: recently I started writing documentation with rst and
sphinx (because sphinx is great!), but before that I already begun to
write it in latex. So now I want to convert that part to rst to add it
to the documentation.

I know there is something like pandoc, but at first sight it seems not
to convert my math and tables and references very well (I suppose it's
because it converts it to general rst, and sphinx uses rst with some
extensions?)

kind regards,
Joris

Kevin Horn

unread,
Apr 12, 2011, 2:08:39 PM4/12/11
to sphin...@googlegroups.com
Somewhere in the Python source tree is a script that was used to convert the Python documentation from Latex to Sphinx/rst.  Maybe that would help?

Kevin Horn

dan90

unread,
Apr 12, 2011, 5:58:31 PM4/12/11
to sphin...@googlegroups.com
I've had a lot of luck using pandoc - http://johnmacfarlane.net/pandoc/ - which handles LaTeX, ReST and some other markup formats besides.

HTH
Dan

Reply all
Reply to author
Forward
0 new messages