From 463ca4b1f557e7be561532d1a3090f4f54062326 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sat, 2 Jul 2022 08:40:36 +0000 Subject: [CWEB] Similar change in CTWILL macros. git-svn-id: svn://tug.org/texlive/trunk@63786 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/ChangeLog | 5 +++-- Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 47041e3796f..7aa44a8a43c 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,11 +1,12 @@ 2022-07-02 Andreas Scherer - * cwebmac.tex: Fix \ifpdf logic. + * cwebmac.tex, + * texinputs/pdfctwimac.tex: Fix \ifpdf logic. 2022-06-20 Andreas Scherer * texinputs/dcwebmac.tex, - * texinputs,dcwebstrings.tex, + * texinputs/dcwebstrings.tex, * texinputs/fcwebman.tex, * texinputs/icwebmac.tex: Update translated macros. diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex index 6ced8ae94e6..03b944cd60a 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfctwimac.tex @@ -444,14 +444,14 @@ \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} \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% -- cgit v1.2.3