summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/texinputs
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/texinputs')
-rw-r--r--Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
index 54531a25764..f8c8eea9ad9 100644
--- a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
+++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
@@ -1,6 +1,6 @@
% pdfwebtofront.tex
% Code from knuth.drv in https://github.com/oberdiek/latex-tds
-% 2020/05/30 v1.1 by Andreas Scherer.
+% 2020/06/19 v1.2 by Andreas Scherer.
%
% This file is part of project https://github.com/ascherer/cwebbin
% and may be distributed under the MIT License or the LaTeX Project
@@ -30,9 +30,10 @@
\begingroup
\let\end\relax
\ORGcon
- % let's start with section '1', the 'Introduction'.
- \ifx\undefined\gdepth \mark{{{\tensy x}1}{Introduction}} % WEB
- \else \mark{{{\tensy x}1}0{Introduction}}\fi % CWEB
+ % let's start with section '1'; the '\gtitle' should be set,
+ % e.g. to 'Introduction', right before '\input pdfwebtocfront'.
+ \ifx\undefined\gdepth \mark{{{\tensy x}1}{\the\gtitle}} % WEB
+ \else \mark{{{\tensy x}1}0{\the\gtitle}}\fi % CWEB
\eject % set '\botmark' on TOC, hence '\topmark' on next page.
\endgroup
\let\con\end