classification
Title: extra "\fi" in sphinx.sty, line 62
Type: Stage:
Components: Documentation tools (Sphinx) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: efiring, georg.brandl, wplappert
Priority: normal Keywords:

Created on 2008-10-21 21:52 by efiring, last changed 2008-11-04 20:50 by georg.brandl. This issue is now closed.

Messages (2)
msg75050 - (view) Author: Eric Firing (efiring) Date: 2008-10-21 21:59
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@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@NormalColor{\color[rgb]{0.0,0.0,0.0}}
   \def\py@TitleColor{\color{TitleColor}}
-\fi\fi
+\fi
 
 % Increase printable page size (copied from fullpage.sty)
 \topmargin 0pt
msg75507 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-11-04 20:50
This is already tracked in
http://www.bitbucket.org/birkenfeld/sphinx/issue/26/sphinxsty-incompatible-with-texlive-sphinx.
History
Date User Action Args
2008-11-04 20:50:43georg.brandlsetstatus: open -> closed
resolution: duplicate
messages: + msg75507
2008-10-21 22:03:32wplappertsetnosy: + wplappert
2008-10-21 21:59:22efiringsetmessages: + msg75050
title: extra "\fi -> extra "\fi" in sphinx.sty, line 62
2008-10-21 21:52:11efiringcreate