diff options
| author | Georg Brandl <georg@python.org> | 2008-11-06 10:08:13 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-11-06 10:08:13 +0100 |
| commit | 38f2ace3d9341c46b563775cdeec3b3d07ff2fb2 (patch) | |
| tree | a899007e9fd43f7d79d79d5f55697b59332d501b /sphinx/texinputs | |
| parent | 0ca5f6b7eef0846e3bfdba75ea97a5788c0c5338 (diff) | |
| download | sphinx-38f2ace3d9341c46b563775cdeec3b3d07ff2fb2.tar.gz | |
#26: fix problems with ifxetex package.
Diffstat (limited to 'sphinx/texinputs')
| -rw-r--r-- | sphinx/texinputs/sphinx.sty | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 209c35f9..c0ea9d6e 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -55,11 +55,10 @@ \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 |
