John Hunter wrote:
> On Tue, Oct 21, 2008 at 12:52 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
>> I did svn up on Sphinx, deleted mpl doc/build, and tried to rebuild the
>> docs. The Latex is failing with output ending in
>>
>> ) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
>> (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
>> (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
>> (/etc/texmf/tex/latex/config/graphics.cfg)))
>> (/usr/share/texmf-texlive/tex/plain/misc/pdfcolor.tex)
>> ! Extra \fi.
>> l.62 \fi\fi
>>
>>
>> Is anyone else getting this? Is there something else I need to clean
>> out in order to make it work now?
>
> Try again, and make sure you reinstall mpl from HEAD? There were a
> couple of bugs in the matplotlib.mlab.cohere math string that was
> causing an error on my box
>
> C_{xy} = \\frac{|P_{xy}|^2}{P_{xx}P_{yy}}
>
> It looks like I forgot to commit the change (now in r6289).
I did a build and install of mpl from a clean checkout, went to the doc
subdir, and ran "python make.py". It failed in exactly the same place
as before (but took quite a while to get there).
Sphinx is installed as Sphinx-0.5dev_20081020-py2.5.egg.
The line Latex is complaining about is in sphinx.sty. I found that by
typing "E" after the Latex "?" output; I could never have figured it out
from the actual Latex output preceding the "?".
Changing the \fi\fi to \fi fixes it, at least with respect to building
mpl docs.
I filed it as bug 4166.
Eric
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel