texlive[63784] Build/source/texk/web2c/cwebdir: [CWEB] Don't output
commits+ascherer at tug.org
commits+ascherer at tug.org
Sat Jul 2 04:11:36 CEST 2022
Revision: 63784
http://tug.org/svn/texlive?view=revision&revision=63784
Author: ascherer
Date: 2022-07-02 04:11:36 +0200 (Sat, 02 Jul 2022)
Log Message:
-----------
[CWEB] Don't output PDF special when \pdffalse.
More importantly: Don't forget to output the PDF bookmarks for starred
sections when using 'tex "\let\pdf+..."'.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/ChangeLog
trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex
Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2022-07-01 23:49:57 UTC (rev 63783)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2022-07-02 02:11:36 UTC (rev 63784)
@@ -1,3 +1,7 @@
+2022-07-02 Andreas Scherer <https://ascherer.github.io>
+
+ * cwebmac.tex: Fix \ifpdf logic.
+
2022-06-20 Andreas Scherer <https://ascherer.github.io>
* texinputs/dcwebmac.tex,
Modified: trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex 2022-07-01 23:49:57 UTC (rev 63783)
+++ trunk/Build/source/texk/web2c/cwebdir/cwebmac.tex 2022-07-02 02:11:36 UTC (rev 63784)
@@ -348,9 +348,9 @@
{\noexpand\the\pageno}{\the\toksE}}}\next % \ZZ{title}{depth}{sec}{page}{ss}
\ifpdf \ifpdftex\expandafter\xdef\csname curr#1\endcsname{\secno}
\ifnum#1>0\countB=#1 \advance\countB by-1
- \advancenumber{chunk\the\countB.\expnumber{curr\the\countB}}\fi\fi
+ \advancenumber{chunk\the\countB.\expnumber{curr\the\countB}}\fi
\else \special{pdf: outline #1 << /Title (\the\toksE) /Dest
- [ @thispage /FitH @ypos ] >>}\fi
+ [ @thispage /FitH @ypos ] >>}\fi \fi
\ifon\startsection{\bf#3.\quad}\ignorespaces}
\def\MN#1{\par % common code for \M, \N
{\xdef\secstar{#1}\let\*=\empty\xdef\secno{#1}}% remove \* from section name
More information about the tex-live-commits
mailing list.