texlive[63785] Master/texmf-dist/tex/plain/cweb/cwebmac.tex: [CWEB]

commits+ascherer at tug.org commits+ascherer at tug.org
Sat Jul 2 04:15:41 CEST 2022


Revision: 63785
          http://tug.org/svn/texlive?view=revision&revision=63785
Author:   ascherer
Date:     2022-07-02 04:15:39 +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/Master/texmf-dist/tex/plain/cweb/cwebmac.tex

Modified: trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex	2022-07-02 02:11:36 UTC (rev 63784)
+++ trunk/Master/texmf-dist/tex/plain/cweb/cwebmac.tex	2022-07-02 02:15:39 UTC (rev 63785)
@@ -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.