We have a requirement for latex math (eg. $\sum_i x_i$) in our documentation,
and i'd like to patch epydoc to handle this:.
In the latex.py I would change _text_to_latex to no do anything to stuff in between $,
and for the html i would patch the _to_html method in epytext.py. Probably I would
use PyX (it has good support for calling tex) and the ghostscript command to
render the latex into an image.
I guess the syntax would be something like M{$\sum_i x_i$}.
Is there any interest in supporting such a patch ? Any other suggestions ?
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
|