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

sphinx.sty incompatible with Texlive (Sphinx SVN) #26

Closed
shimizukawa opened this issue Jan 2, 2015 · 3 comments
Closed

sphinx.sty incompatible with Texlive (Sphinx SVN) #26

shimizukawa opened this issue Jan 2, 2015 · 3 comments

Comments

@shimizukawa
Copy link
Member

Reported by p...iki.fi, Oct 19, 2008

r66916 in Sphinx SVN apparently broke Latex builds: the following
error occurs:

$ make all-pdf
...
(/usr/share/texmf-texlive/tex/plain/misc/pdfcolor.tex)
! Extra \fi.
l.62 \fi\fi

? 
! Emergency stop.
l.62 \fi\fi

!  ==> Fatal error occurred, no output PDF file produced!

The offending line is line 62 in sphinx.sty, this part:

 57 % XeLaTeX can do colors, too
 58 \IfFileExists{ifxetex.sty}{\RequirePackage{ifxetex}}{}
 59 \ifx\ifxetex\undefined\else\ifxetex
 60   \def\py@NormalColor{\color[rgb]{0.0,0.0,0.0}}
 61   \def\py@TitleColor{\color{TitleColor}}
 62 \fi\fi

Removing the second \fi on line 62 fixed the problem for me.
I'm using Texlive (2007, as shipped with Ubuntu intrepid).

Comment 1 by georg.brandl, Oct 19, 2008

This should already have been fixed in r66968.

Comment 2 by p...iki.fi, Oct 21, 2008

I see this with r66969. (Sorry, forgot to mention this.)
Bisection search shows that the first revision that fails for me is r66916.

However, installing the texlive-xetex package on Ubuntu (Intrepid) fixes this issue.
This package contains eg. ifxetex.sty


@shimizukawa
Copy link
Member Author

From Georg Brandl on 2008-11-06 09:08:37+00:00

Should be fixed in <<cset 51acf37>>.

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2010-03-01 22:24:46+00:00

Removing version: 0.4.3 (automated comment)

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2010-08-25 12:19:04+00:00

Removing milestone: 0.5 (automated comment)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant