diff --git a/texk/web2c/cwebdir/ChangeLog b/texk/web2c/cwebdir/ChangeLog index 0f242f42a2..6cf0e5a077 100644 --- a/texk/web2c/cwebdir/ChangeLog +++ b/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,7 @@ +2023-05-19 Andreas Scherer + + * texinputs/pdfctwimac.tex: Fix NOS section. + 2023-05-14 Andreas Scherer * Makefile, diff --git a/texk/web2c/cwebdir/texinputs/pdfctwimac.tex b/texk/web2c/cwebdir/texinputs/pdfctwimac.tex index 6929ffb888..3d05268eb0 100644 --- a/texk/web2c/cwebdir/texinputs/pdfctwimac.tex +++ b/texk/web2c/cwebdir/texinputs/pdfctwimac.tex @@ -675,6 +675,7 @@ \fi} \def\fin{\ifacro \message{Section names:} \def\U##1.{} \def\Us##1.{} \let\I=\relax \let\*=* + \newrefs={} \output={\shipout\box255} \def\outsecname{Names of the sections} \ifpdftex \makebookmarks \countsections \pdfdest name {NOS} fith @@ -682,8 +683,8 @@ \def\X##1:##2\X{\firstsecno##1.% {\toksF={}\makeoutlinetoks##2\outlinedone\outlinedone}% \pdfoutline goto num \the\toksA \expandafter{\the\toksE}} - \else \output={\shipout\box255} - \special{pdf: outline -1 << /Title (\outsecname) >>}% + \else \special{pdf: outline -1 << /Title (\outsecname) + /Dest [ @thispage /FitH @ypos ] >>} \def\X##1:##2\X{\firstsecno##1.% {\toksF={}\makeoutlinetoks##2\outlinedone\outlinedone}% \special{pdf: outline 0 << /Title (\the\toksE)