texlive[63786] Build/source/texk/web2c/cwebdir: [CWEB] Similar change

commits+ascherer at tug.org commits+ascherer at tug.org
Sat Jul 2 10:40:37 CEST 2022


Revision: 63786
          http://tug.org/svn/texlive?view=revision&revision=63786
Author:   ascherer
Date:     2022-07-02 10:40:36 +0200 (Sat, 02 Jul 2022)
Log Message:
-----------
[CWEB] Similar change in CTWILL macros.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2022-07-02 02:15:39 UTC (rev 63785)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2022-07-02 08:40:36 UTC (rev 63786)
@@ -1,11 +1,12 @@
 2022-07-02  Andreas Scherer  <https://ascherer.github.io>
 
-	* cwebmac.tex: Fix \ifpdf logic.
+	* cwebmac.tex,
+	* texinputs/pdfctwimac.tex: Fix \ifpdf logic.
 
 2022-06-20  Andreas Scherer  <https://ascherer.github.io>
 
 	* texinputs/dcwebmac.tex,
-	* texinputs,dcwebstrings.tex,
+	* texinputs/dcwebstrings.tex,
 	* texinputs/fcwebman.tex,
 	* texinputs/icwebmac.tex: Update translated macros.
 

Modified: trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex	2022-07-02 02:15:39 UTC (rev 63785)
+++ trunk/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex	2022-07-02 08:40:36 UTC (rev 63786)
@@ -444,7 +444,7 @@
       \gdef\rrhead{\let\i=I\uppercase{\ignorespaces#3}}
   \fi
   \message{*\secno} % progress report
-  \ifpdftex\def\stripprefix##1>{}\def\gtitletoks{#3}%
+  \ifpdf \ifpdftex\def\stripprefix##1>{}\def\gtitletoks{#3}%
     \edef\gtitletoks{\expandafter\stripprefix\meaning\gtitletoks}%
     {\immediate\write\cont{\ZZ{\gtitletoks}{#1}{\secno}% write to contents file
       {\noexpand\the\pageno}{\the\toksE}}} % \ZZ{title}{depth}{sec}{page}{ss}
@@ -451,7 +451,7 @@
     \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\ifpdf\special{pdf: outline #1 << /Title (\the\toksE) /Dest
+  \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%



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