[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
! 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 @@
   \def\py at NormalColor{\color[rgb]{0.0,0.0,0.0}}
   \def\py at TitleColor{\color{TitleColor}}
 % 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>

More information about the Python-bugs-list mailing list