summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2023-05-19 11:28:27 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2023-05-19 11:28:27 +0000
commit149c7f13698fa473cdb4cfd2749ba22a90fc2146 (patch)
tree62004a1cfa6ab1bec1b91abba18389c91df8f466 /Master/texmf-dist/tex/plain
parent87dbcbf8d3f93b4b6e5ce8b8cba47dddaf7e0089 (diff)
[CWEB] Fix NOS section in CTWILL output.
git-svn-id: svn://tug.org/texlive/trunk@67155 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r--Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex b/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex
index 6929ffb888c..3d05268eb07 100644
--- a/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex
+++ b/Master/texmf-dist/tex/plain/cweb/cwebbin/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)