|
Subject: typeset math Newsgroups: gmane.comp.python.scientific.user Date: 2006-05-05 21:58:10 GMT (2 years, 17 weeks, 5 days, 16 hours and 51 minutes ago) >David Huard wrote: >> Will this be used to parse docstrings ? Robert Kern said: >No. It could be used by docstring parsers to render formulae that they >encounter, though. >David Huard wrote: >> Is this project related to or drawing from PyTeX ? Robert Kern said: > No, the point of the project is to be able to typeset math > formulae using TeX font metrics and TeX algorithms without > needing a TeX installation. OK, the meaning of "typeset" is a bit obscure to me here. I will assume this means: can I go from docstrings including math formulae to PDF without using TeX. Assume the math formulae are in LaTeX format, designated clearly. One path: reStructedText doc strings -> XHTML+MathML -> PDF Mostly reuse existing tools. http://svn.berlios.de/viewcvs/docutils/trunk/sandbox/jensj/latex_math/ Another path: reStructedText doc strings -> AbiWord XML -> PDF (AbiWord already has good LaTeX -> MathML conversion, but it needs improvement.) If you do not wish to go via TeX, is there an obvious (feasible) alternative to going via MathML? Cheers, Alan Isaac |
|
|