summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2021-02-08 08:50:13 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2021-02-08 08:50:13 +0000
commit7b52bd0a112c2d889df520f6b58ea673d7eee9ab (patch)
tree537241cbaf1f0e7ec12eee61771f1a9da8a92cc6 /Master/texmf-dist/tex/plain/cweb/cwebmac.tex
parent21789d78376b470876b5e1f80a10fb5c7c653b37 (diff)
[CWEB] natively supports XeTeX.
git-svn-id: svn://tug.org/texlive/trunk@57677 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain/cweb/cwebmac.tex')
-rw-r--r--Master/texmf-dist/tex/plain/cweb/cwebmac.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/plain/cweb/cwebmac.tex b/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
index 60f86ce5a9a..228de239bf9 100644
--- a/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
+++ b/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
@@ -1,13 +1,14 @@
% standard macros for CWEB listings (in addition to plain.tex)
-% Version 3.70 --- July 2017
+% Version 4.0 --- February 2021
\ifx\renewenvironment\undefined\else\endinput\fi % LaTeX will use other macros
-\xdef\fmtversion{\fmtversion+CWEB3.70}
-\chardef\cwebversion=3 \chardef\cwebrevision=70
+\xdef\fmtversion{\fmtversion+CWEB4.0}
+\chardef\cwebversion=4 \chardef\cwebrevision=0
\newif\ifpdf
\ifx\pdf+\pdftrue\fi
% Uncomment the following line if you want PDF goodies to be the default
%\ifx\pdf-\else\pdftrue\fi
\def\pdflinkcolor{0 0 1} % the RGB values for hyperlink color
+\ifx\undefined\XeTeXrevision\else\pdftrue\fi % XeTeX produces PDF output
\newif\ifpdftex
\ifx\pdfoutput\undefined \pdftexfalse \else\ifnum\pdfoutput=0 \pdftexfalse
%\else \pdftextrue \pdfoutput=1 \input pdfcolor \let\setcolor\pdfsetcolor \fi\fi