On Fri, Nov 14, 2008 at 3:00 PM, Roberto Alsina
<[EMAIL PROTECTED]> wrote:

> Just as a sidenote: I wrote a docutils math directive/role using matplotlib
> which doesn't require TeX and uses (a subset of) the same syntax.
>
> It generates PNGs I then embed in PDFs but it should be trivial to make it
> work for HTML. And the vertical alignment for inline math works:
>
> http://www.flickr.com/photos/ralsina/3029812713/

FYI, matplotlib uses sphinx for its doc generation, and we also have
our own mathmpl extension courtesy of Michael Droettboom, which we use
for HTML generation.  The extension is here:

  
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/doc/sphinxext/mathmpl.py?view=markup

You can see it in action here:

  http://matplotlib.sourceforge.net/users/mathtext.html

This uses matplotlib's internal tex rendering engine which does not
require a tex install (but does require numpy and matplotlib)

JDH

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to