summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2021-02-11 10:59:58 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2021-02-11 10:59:58 +0000
commit871ea675529987a03968136fb00fd17986ef3ff2 (patch)
tree47c5d7c0c0a6c00658dcc1c84cda7d4256e78489 /Build
parent5ae3f784b49be85059209f018cbf7a3e6e11eeb5 (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')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex6
2 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 8abb63037fd..a4f0964a97f 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-11 Andreas Scherer <https://ascherer.github.io>
+
+ * texinputs/pdfctwimac.tex: Fix bug in color setter.
+
2021-02-08 Andreas Scherer <https://ascherer.github.io>
* comm-w2c.ch,
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