File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 4949 \usepackage [pdftex ]{graphicx }
5050\fi
5151
52- % for PDF output, use maximal compression
53- \newif\ifpdf\pdffalse
52+ % for PDF output, use colors and maximal compression
5453\ifx \pdfoutput\undefined \else\ifcase \pdfoutput
5554 \let\py@NormalColor\relax
5655 \let\py@TitleColor\relax
5756\else
58- \pdftrue
5957 \input {pdfcolor }
60- \let \py@NormalColor = \Black
58+ \def \py@NormalColor { \color [rgb]{0.0,0.0,0.0}}
6159 \def\py@TitleColor {\color {TitleColor}}
6260 \pdfcompresslevel =9
6361\fi\fi
6462
65- % Detect if we're using XeLaTeX
66- \IfFileExists {ifxetex.sty}{%
67- \RequirePackage {ifxetex}
68- }{% not using xelatex
69- \newif\ifxetex\xetexfalse
70- }
71- \ifxetex
63+ % XeLaTeX can do colors, too
64+ \IfFileExists {ifxetex.sty}{\RequirePackage {ifxetex}}{}
65+ \ifx \ifxetex\undefined \else \ifxetex
7266 \def\py@NormalColor {\color [rgb]{0.0,0.0,0.0}}
7367 \def\py@TitleColor {\color {TitleColor}}
74- \fi
68+ \fi\fi
7569
7670% Increase printable page size (copied from fullpage.sty)
7771\topmargin 0pt
You can’t perform that action at this time.
0 commit comments