From bc8a3d06092de658514130877a4296a692f13a73 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Fri, 24 May 2024 16:55:01 +0000 Subject: [CWEB] Fix comments in pdfwebtocfront.tex. git-svn-id: svn://tug.org/texlive/trunk@71334 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex index d08b0395d31..47c05d887fc 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex @@ -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 -- cgit v1.2.3