[Numpy-discussion] math directive, rest files and sphinx

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue Sep 16 00:32:58 EDT 2008


Stéfan van der Walt wrote:
>
> It should work, as long as you include the necessary packages in your
> LaTeX preamble, which is included in the Sphinx project config file.
> Could you give a bit more info on what exactly breaks?

I managed to get further, but I don't get what I want. A minimal latex
code which has the problem is the following

.. math:: \begin{matrix}x \\ y \end{array}

This shows correctly with latex, but not with html (which shows xy
instead of a column with x in one row and y in the other). I guess this
is a mathml problem ?

Also, I noticed a trivial but confusing error in error messages in
mathml.py. Shall I report those problems with fixes in the numpyref
package at launchpad ? IOW, what is the 'official' gate to this ?

Finally, are are gearing toward math support from sphinx directly
(available in future 0.5), or will we keep our own ?

cheers,

David



More information about the NumPy-Discussion mailing list