[issue4166] extra "\fi" in sphinx.sty, line 62
Eric Firing
report at bugs.python.org
Tue Oct 21 23:59:22 CEST 2008
New submission from Eric Firing <efiring at hawaii.edu>:
Building the matplotlib docs using Sphinx svn 66969 results in a Latex
error 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
The line 62 turns out to be in sphinx.sty; removing one "\fi" allows the
build to proceed. The svn diff is:
efiring at manini:~/programs/py/sphinx_svn$ svn -x '-w' diff
Index: sphinx/texinputs/sphinx.sty
===================================================================
--- sphinx/texinputs/sphinx.sty (revision 66993)
+++ sphinx/texinputs/sphinx.sty (working copy)
@@ -59,7 +59,7 @@
\ifx\ifxetex\undefined\else\ifxetex
\def\py at NormalColor{\color[rgb]{0.0,0.0,0.0}}
\def\py at TitleColor{\color{TitleColor}}
-\fi\fi
+\fi
% Increase printable page size (copied from fullpage.sty)
\topmargin 0pt
----------
title: extra "\fi -> extra "\fi" in sphinx.sty, line 62
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4166>
_______________________________________
More information about the Python-bugs-list
mailing list