diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2021-02-11 10:59:58 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2021-02-11 10:59:58 +0000 |
commit | 871ea675529987a03968136fb00fd17986ef3ff2 (patch) | |
tree | 47c5d7c0c0a6c00658dcc1c84cda7d4256e78489 /Build/source/texk/web2c/cwebdir/texinputs | |
parent | 5ae3f784b49be85059209f018cbf7a3e6e11eeb5 (diff) |
[CWEB] Fix color setter in CTWILL macros.
git-svn-id: svn://tug.org/texlive/trunk@57709 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/texinputs')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex index 7d81ad2795a..346b24095d9 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex @@ -1,11 +1,11 @@ % standard macros for CWEB listings (in addition to plain.tex) -% Version 3.7 --- June 2020 +% Version 4.0 --- February 2021 % modified for pages produced by CTWILL % further modified for page size of the MMIXware book % modified for PDF output with 'tex "\let\pdf+', 'pdftex', and 'xetex' % This file is not copyrighted and can be used freely. \ifx\renewenvironment\undefined\else\endinput\fi % LaTeX will use other macros -\xdef\fmtversion{\fmtversion+CTWILL3.7+LNCS+PDF} +\xdef\fmtversion{\fmtversion+CTWILL4.0+LNCS+PDF} \newif\ifpdf \ifx\pdf+\pdftrue\fi @@ -17,7 +17,7 @@ \ifx\pdfoutput\undefined \pdftexfalse \else\ifnum\pdfoutput=0 \pdftexfalse \else \pdftextrue \pdfoutput=1 \def\Black{\pdfliteral{0 g 0 G}} % use rgb colors for direct PDF output too - \def\PDFlinkcolor{\pdfliteral{\pdflinkcolor rg \pdflinkcolor RG}} + \def\PDFlinkcolor{\pdfliteral{\pdflinkcolor\space rg \pdflinkcolor\space RG}} \fi\fi \newif\ifacro \ifpdf\acrotrue\fi \ifpdftex\acrotrue\fi |