texlive[67155]

commits+ascherer at tug.org commits+ascherer at tug.org
Fri May 19 13:28:27 CEST 2023


Revision: 67155
          http://tug.org/svn/texlive?view=revision&revision=67155
Author:   ascherer
Date:     2023-05-19 13:28:27 +0200 (Fri, 19 May 2023)
Log Message:
-----------
[CWEB] Fix NOS section in CTWILL output.

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex

Modified: trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex	2023-05-19 11:26:03 UTC (rev 67154)
+++ trunk/Master/texmf-dist/tex/plain/cweb/cwebbin/pdfctwimac.tex	2023-05-19 11:28:27 UTC (rev 67155)
@@ -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)



More information about the tex-live-commits mailing list.