texlive[73460] Build/source/texk/web2c/cwebdir: [CTWILL] Don't mess

commits+ascherer at tug.org commits+ascherer at tug.org
Wed Jan 15 14:33:38 CET 2025


Revision: 73460
          https://tug.org/svn/texlive?view=revision&revision=73460
Author:   ascherer
Date:     2025-01-15 14:33:38 +0100 (Wed, 15 Jan 2025)
Log Message:
-----------
[CTWILL] Don't mess with /PageLabels in CTWILL output.

This could be placed in pdfctwimac.tex (after cwebacromac.tex), but
there might be room for a better '\con' in the future.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/ctwill-mini.ch

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2025-01-15 04:24:52 UTC (rev 73459)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2025-01-15 13:33:38 UTC (rev 73460)
@@ -1,3 +1,7 @@
+2025-01-15  Andreas Scherer  <https://ascherer.github.io>
+
+	* ctwill-mini.ch: Don't mess with /PageLabels in CTWILL output.
+
 2025-01-14  Andreas Scherer  <https://ascherer.github.io>
 
 	* texinputs/pdfctwimac.tex: Switch on PDF outlines.

Modified: trunk/Build/source/texk/web2c/cwebdir/ctwill-mini.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ctwill-mini.ch	2025-01-15 04:24:52 UTC (rev 73459)
+++ trunk/Build/source/texk/web2c/cwebdir/ctwill-mini.ch	2025-01-15 13:33:38 UTC (rev 73460)
@@ -25,6 +25,9 @@
   \pdfpageheight=\pageheight \advance\pdfpageheight by 5cm
   \ifpdflua \pdfhorigin=1cm \pdfvorigin=1cm
   \else \global\hoffset=-1.54cm \global\voffset=-1.54cm \fi
+  \def\startpdf{\def\pagemode{/PageMode /UseOutlines}
+    \ifpdflua\pdfcatalog{\pagemode}
+    \else\special{pdf: docview << \pagemode >>}\fi}
 \fi
 
 @** Introduction.



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