[SciPy-dev] Latex and docstrings
Dag Sverre Seljebotn
dagss@student.matnat.uio...
Wed Feb 10 05:30:16 CST 2010
Stéfan van der Walt wrote:
> On 10 February 2010 11:48, Pauli Virtanen <pav+sp@iki.fi> wrote:
>
>>> I much prefer the former (the latter is unreadable in a terminal IMO). I
>>> have of course no issue in putting the latex formula in the scipy docs,
>>>
>> Someone could try to write a "simple math" plugin for Sphinx that
>> converted poor man's math notation to Latex.
>>
>
> We could look at AsciiMathML for inspiration:
>
> http://asciimathml.sourceforge.net/
>
+1, that looks great.
One should ban expressions like "a/b/c/d" though -- apparently
AsciiMathML typesets that as (a/b)/(c/d), while in Python that would be
a/(b*c*d).
Dag Sverre
More information about the SciPy-Dev
mailing list