diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 9b9bd594023..524d7e2335b 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,8 @@ +2020-06-19 Andreas Scherer <https://ascherer.github.io> + + * texinputs/pdfwebtocfront.tex: Generic 'group title' on the first + page after the table-of-contents. + 2020-06-16 Andreas Scherer <https://ascherer.github.io> * texinputs/pdfctimac.tex: Bookmarks for "Names of the sections". 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 |