plasTeX is a LaTeX document processing framework written entirely in Python. It currently comes bundled with an XHTML renderer (including multiple themes), as well as a way to simply dump the document to a generic form of XML. Other renderers can be added as well and are planned for future releases.
latex.py Character translation utilities for LaTeX-formatted text. Usage: - unicode(string,'latex') - ustring.decode('latex') are both available just by letting "import latex" find this file. - unicode(string,'latex+latin1') - ustring.decode('latex+latin1') where latin1 can be replaced by any other known encoding, also become available by calling latex.register(). We also make public a dictionary latex_equivalents, mapping ord(unicode char) to LaTeX code. D. Eppstein, October 2003. source: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252124 License: Python license (http://python.org/doc/Copyright.html) modified for mab2bib 2005/2006 by Henning Hraban Ramm
Vim reStructured Text
Author: Mikolaj Machowski
Title: Vim reStructured Text - HTML and LaTeX output
Keywords: Vim, LaTeX, PDF, HTML, XML
Version: 1.4
License: GPL v. 2
Date: 4 Nov 2006
For a long time Vim users were asking for "real" export to HTML. This is, I believe, first real try to achieve this effect. This is Vim version of reStructuredText, popular Python language documentation tool (so I borrowed parts of its documentation).