Re: [Matplotlib-users] sphinx mathmpl usage

2008-12-16 Thread Michael Droettboom
Angus McMorland wrote: >>> I get this error: >>> >>> writing output... index modules/calculate >>> /usr/lib/python2.5/site-packages/sphinx/ext/sphinxext/mathmpl.py:107: >>> Warning: Could not render math expression $lpha$ >>> Warning) >>> /usr/lib/python2.5/site-packages/sphinx/ext/sphinxext/mathm

Re: [Matplotlib-users] sphinx mathmpl usage

2008-12-15 Thread Angus McMorland
Hi Mike, 2008/12/15 Michael Droettboom : > Angus McMorland wrote: >> I think I've copied the usage suggested by the 'writing mathtext' page >> in the mpl documentation (i.e. looking at its rst source [1]). That is >> to say, the appearance of $ and the lack of \ are produced by the >> extension, a

Re: [Matplotlib-users] sphinx mathmpl usage

2008-12-15 Thread Michael Droettboom
Angus McMorland wrote: > Hi Mike et al, > > Thanks for the reply. > > 2008/12/15 Michael Droettboom : > >> You don't need the $. In fact, an unescaped $ in a math expression is a >> syntax error. >> >> Admittedly, the feedback about this could be better than just "couldn't >> render". I'll loo

Re: [Matplotlib-users] sphinx mathmpl usage

2008-12-15 Thread Angus McMorland
Hi Mike et al, Thanks for the reply. 2008/12/15 Michael Droettboom : > You don't need the $. In fact, an unescaped $ in a math expression is a > syntax error. > > Admittedly, the feedback about this could be better than just "couldn't > render". I'll look at passing more information about the e

Re: [Matplotlib-users] sphinx mathmpl usage

2008-12-15 Thread Michael Droettboom
You don't need the $. In fact, an unescaped $ in a math expression is a syntax error. Admittedly, the feedback about this could be better than just "couldn't render". I'll look at passing more information about the exception back to Sphinx. Note also, you'll want a slash in front of \alpha i