Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra "\fi" in sphinx.sty, line 62 #48416

Closed
efiring mannequin opened this issue Oct 21, 2008 · 2 comments
Closed

extra "\fi" in sphinx.sty, line 62 #48416

efiring mannequin opened this issue Oct 21, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@efiring
Copy link
Mannequin

efiring mannequin commented Oct 21, 2008

BPO 4166
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2008-11-04.20:50:43.640>
created_at = <Date 2008-10-21.21:52:11.324>
labels = ['docs']
title = 'extra "\\fi" in sphinx.sty, line 62'
updated_at = <Date 2008-11-04.20:50:43.639>
user = 'https://bugs.python.org/efiring'

bugs.python.org fields:

activity = <Date 2008-11-04.20:50:43.639>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-11-04.20:50:43.640>
closer = 'georg.brandl'
components = ['Documentation tools (Sphinx)']
creation = <Date 2008-10-21.21:52:11.324>
creator = 'efiring'
dependencies = []
files = []
hgrepos = []
issue_num = 4166
keywords = []
message_count = 2.0
messages = ['75050', '75507']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'wplappert', 'efiring']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue4166'
versions = []

@efiring efiring mannequin assigned birkenfeld Oct 21, 2008
@efiring efiring mannequin added the docs Documentation in the Doc dir label Oct 21, 2008
@efiring
Copy link
Mannequin Author

efiring mannequin commented Oct 21, 2008

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

@efiring efiring mannequin changed the title extra "\fi extra "\fi" in sphinx.sty, line 62 Oct 21, 2008
@birkenfeld
Copy link
Member

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant