Commits

Georg Brandl committed 23cba17

#26: fix problems with ifxetex package.

  • Participants
  • Parent commits 4d9cc1b

Comments (0)

Files changed (1)

sphinx/texinputs/sphinx.sty

 \fi\fi
 
 % XeLaTeX can do colors, too
-\IfFileExists{ifxetex.sty}{\RequirePackage{ifxetex}}{}
-\ifx\ifxetex\undefined\else\ifxetex
+\ifx\XeTeXrevision\undefined\else
   \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