diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2022-07-02 02:15:39 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2022-07-02 02:15:39 +0000 |
commit | 261ceb1c8d6b89bf3babd942e3d1559c0b155017 (patch) | |
tree | b939796f7a97a2cef18ed99c5e4a527c741d0cb4 /Master/texmf-dist/tex/plain | |
parent | ebac99c81f39717f4e42510e64811a0dc4680458 (diff) |
[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+..."'.
git-svn-id: svn://tug.org/texlive/trunk@63785 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r-- | Master/texmf-dist/tex/plain/cweb/cwebmac.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/plain/cweb/cwebmac.tex b/Master/texmf-dist/tex/plain/cweb/cwebmac.tex index 5f05e012ba3..85ac02587bb 100644 --- a/Master/texmf-dist/tex/plain/cweb/cwebmac.tex +++ b/Master/texmf-dist/tex/plain/cweb/cwebmac.tex @@ -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 |