diff --git a/texk/web2c/cwebdir/ChangeLog b/texk/web2c/cwebdir/ChangeLog index 1057caf483..6db4bcd3ae 100644 --- a/texk/web2c/cwebdir/ChangeLog +++ b/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,8 @@ +2023-10-18 Andreas Scherer + + * cwebmac.tex, + * cwebman-w2c.ch: Minor redactions in the CWEB manual and macros. + 2023-10-15 Andreas Scherer * cwebman-w2c.ch: Fix display in Skim and Acrobat Reader on macOS. diff --git a/texk/web2c/cwebdir/cwebmac.tex b/texk/web2c/cwebdir/cwebmac.tex index be2e149e76..507a429813 100644 --- a/texk/web2c/cwebdir/cwebmac.tex +++ b/texk/web2c/cwebdir/cwebmac.tex @@ -1,5 +1,5 @@ % standard macros for CWEB listings (in addition to plain.tex) -% Version 4.11 --- September 2023 +% Version 4.11 --- October 2023 \ifx\renewenvironment\undefined\else\endinput\fi % LaTeX will use other macros \xdef\fmtversion{\fmtversion+CWEB4.11} \chardef\cwebversion=4 \chardef\cwebrevision=11 @@ -7,12 +7,12 @@ \ifx\pdf+\pdftrue\fi % for plain TeX in combination with dvipdfm % 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 \ifxetex\pdftrue\fi % XeTeX produces PDF output +\ifpdf \def\pdflinkcolor{0 0 1} \fi % the RGB values for hyperlink color \let\ifacro=\ifpdf \newif\ifacrohint \ifacro\acrohinttrue\fi \ifhint\acrohinttrue\fi \newif\ifpdflua \ifluatex\pdfluatrue\fi \ifpdftex\pdfluatrue\fi -\ifpdflua % luaTeX and pdfTeX produce PDF output if \pdfoutput>0 +\ifpdflua % luaTeX and pdfTeX produce PDF output if \pdfoutput>0 (default) \def\Black{\pdfliteral{0 g 0 G}} % use rgb colors for direct PDF output too \def\Blue{\pdfliteral{\pdflinkcolor\space rg \pdflinkcolor\space RG}} \fi diff --git a/texk/web2c/cwebdir/cwebman-w2c.ch b/texk/web2c/cwebdir/cwebman-w2c.ch index 6685692463..261df35df2 100644 --- a/texk/web2c/cwebdir/cwebman-w2c.ch +++ b/texk/web2c/cwebdir/cwebman-w2c.ch @@ -359,16 +359,16 @@ Looking at those @y \point 21. With modern \TeX\ engines like `\.{luatex}', `\.{pdftex}', and `\.{xetex}' (but \\{not} with classic `\.{tex}') you can say `\.{\\input -pdfwebtocfront}' as the last command in limbo and run \TeX\ \\{twice} on your -woven document, in order to shift the table-of-contents to the front of the -{\mc PDF} output. +pdfwebtocfront}' as the last command in the limbo section and run \TeX\ +\\{twice} on your woven \.{CWEB} document, in order to shift the +table-of-contents to the front of the {\mc PDF} output. \point 22. You are advised to use the command line option `\.{--shell-escape}' with \.{pdftex} and \.{luatex} in order to receive ``valid'' PDF output from your \.{CWEB} source file; otherwise, the internal counter for the ``Names of -the sections'' part in the PDF ``bookmarks'' will be incorrect. (`\.{xetex}' -and `\.{tex "\\let\\pdf+..."}' take a different approach that is correct by -design.) +the sections'' part in the {\mc PDF} ``bookmarks'' will be incorrect. +(`\.{xetex}' and `\.{tex "\\let\\pdf+..."}' take a different approach that is +correct by design.) \vfill\end @z