On Sun, Oct 27, 2002 at 03:45:07PM -0800, Kayvan A. Sylvan wrote: > Check out http://pylatex.sourceforge.net for all the documentation > and the pylatex source.
Looks pretty sketchy: ------------- amsmath:py -------------- from pyLaTeX.XML.lib.Mathematics import eqnarray class align(eqnarray): pass ------------- amsmath:py -------------- Next one: """ pyLaTeX Parser This module contains the real brains of pyLaTeX. The only class of any real use is Parser. Given a string containing LaTeX markup and a Python module containing classes corresponding to LaTeX macros, the Parser class will tokenize the text into class instances, process the LaTeX macro arguments, and build a well-formed document of nested macros. """ Parsing .tex like this is impossible to get right. Macros do not have to nest properly. Moreover, it uses fixed values for deliminiters, so this can't work except for some class of "reasonably well-behaved LaTeX" - and we have reLyX for this job already. At it seems to have the same broken two-stage process full tokenization/full parsing that the math parser does - which is not what TeX does. So, no, I don't think this would help us in any way. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)