texlive[68578] Build/source/texk/web2c/cwebdir: [CWEB] Minor
commits+ascherer at tug.org
commits+ascherer at tug.org
Wed Oct 18 10:02:39 CEST 2023
Revision: 68578
https://tug.org/svn/texlive?view=revision&revision=68578
Author: ascherer
Date: 2023-10-18 10:02:39 +0200 (Wed, 18 Oct 2023)
Log Message:
-----------
[CWEB] Minor redactions in the manual and macros.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/ChangeLog
trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex
trunk/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch
Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2023-10-17 23:43:56 UTC (rev 68577)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2023-10-18 08:02:39 UTC (rev 68578)
@@ -1,3 +1,8 @@
+2023-10-18 Andreas Scherer <https://ascherer.github.io>
+
+ * cwebmac.tex,
+ * cwebman-w2c.ch: Minor redactions in the CWEB manual and macros.
+
2023-10-15 Andreas Scherer <https://ascherer.github.io>
* cwebman-w2c.ch: Fix display in Skim and Acrobat Reader on macOS.
Modified: trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex 2023-10-17 23:43:56 UTC (rev 68577)
+++ trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex 2023-10-18 08:02:39 UTC (rev 68578)
@@ -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
Modified: trunk/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch 2023-10-17 23:43:56 UTC (rev 68577)
+++ trunk/Build/source/texk/web2c/cwebdir/cwebman-w2c.ch 2023-10-18 08:02:39 UTC (rev 68578)
@@ -359,16 +359,16 @@
@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
More information about the tex-live-commits
mailing list.