texlive[71335]

commits+ascherer at tug.org commits+ascherer at tug.org
Fri May 24 18:56:06 CEST 2024


Revision: 71335
          https://tug.org/svn/texlive?view=revision&revision=71335
Author:   ascherer
Date:     2024-05-24 18:56:06 +0200 (Fri, 24 May 2024)
Log Message:
-----------
[CWEB] Fix comments in pdfwebtocfront.tex.

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex

Modified: trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex	2024-05-24 16:55:01 UTC (rev 71334)
+++ trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfwebtocfront.tex	2024-05-24 16:56:06 UTC (rev 71335)
@@ -1,4 +1,4 @@
-% pdfwebtofront.tex
+% pdfwebtocfront.tex
 % Code from knuth.drv in https://github.com/oberdiek/latex-tds
 % 2024/05/24 v3.0 by Andreas Scherer.
 %
@@ -7,8 +7,9 @@
 % Public License.
 %
 % Move table-of-contents page to the front in PDF output.
-% Works with pdftex and xetex in connection with either 'webmac.tex'
-% for Pascal/WEB programs or 'cwebmac.tex' for C/CWEB programs.
+% Works with pdftex/xetex/luatex and plain tex/dvipdf in connection
+% with either 'pwebmac.tex' for Pascal/WEB programs or 'cwebmac.tex'
+% for C/CWEB programs.
 %
 \ifx\detokenize\undefined\endinput\fi
 \def\contentsfile{\jobname.toc} % file that gets table of contents info
@@ -18,7 +19,7 @@
 \ifeof\testread % First run
 \else % Second run
   % Fix page numbers in the PDF bootmarks with 'Page Labels'
-  \def\tocpages{1} % Most programs have one page Table-of-Contents
+  \def\tocpages{1} % Most programs have one-page Table-of-Contents
   \def\pagemode{/PageMode /UseOutlines}
   \def\pagelabels{/PageLabels << /Nums [
     \ifnum\contentspagenumber=0 0 << /P(Contents) >> \tocpages << /S/D/St 1 >>
@@ -42,8 +43,8 @@
   }%
   % Special variant for 'mf.web' and 'tex.web' (et al.).
   % They all define a peculiar version of '\N' in their preamble.
-  % And they put their tables-of-contents on a sparse 'page 2' and
-  % start the main body on page '3'.
+  % And they put their tables-of-contents on sparse 'Contents' page(s)
+  % and start the main body on page '3'.
   \edef\x{\jobname}%
   \edef\y{\detokenize{tex}}%
   \ifx\x\y \texmftrue\else



More information about the tex-live-commits mailing list.