diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2023-05-19 17:55:14 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2023-05-19 17:55:14 +0000 |
commit | f61ba4ab5c79487ebb8fabd212427e6a5ebfbdd7 (patch) | |
tree | 17d3af852c1949f09f22fef73dc9042edd88f7ab /Build | |
parent | 46ee62927e0ef137544ef1e57987f574d49dcc3c (diff) |
[CWEB] Improve readability of /Destination.
git-svn-id: svn://tug.org/texlive/trunk@67158 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 1 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cwebmac.tex | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 6cf0e5a077a..287fc6bf46e 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,5 +1,6 @@ 2023-05-19 Andreas Scherer <https://ascherer.github.io> + * cwebmac.tex, * texinputs/pdfctwimac.tex: Fix NOS section. 2023-05-14 Andreas Scherer <https://ascherer.github.io> diff --git a/Build/source/texk/web2c/cwebdir/cwebmac.tex b/Build/source/texk/web2c/cwebdir/cwebmac.tex index dda61c5891d..4278fe5630c 100644 --- a/Build/source/texk/web2c/cwebdir/cwebmac.tex +++ b/Build/source/texk/web2c/cwebdir/cwebmac.tex @@ -350,8 +350,8 @@ \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 - \else \special{pdf: outline #1 << /Title (\the\toksE) /Dest - [ @thispage /FitH @ypos ] >>}\fi \fi + \else \special{pdf: outline #1 << /Title (\the\toksE) + /Dest [ @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 diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex index 3d05268eb07..508999f453f 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex @@ -452,8 +452,8 @@ \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 - \else \special{pdf: outline #1 << /Title (\the\toksE) /Dest - [ @thispage /FitH @ypos ] >>}\fi\fi + \else \special{pdf: outline #1 << /Title (\the\toksE) + /Dest [ @thispage /FitH @ypos ] >>}\fi \fi \startsection{\bf\ignorespaces#3.\quad}\ignorespaces} \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% \else \csname#1\endcsname \fi} % Petr Olsak's macros from texinfo.tex |