From 04d20bf539b0229a625527aaf827c4fd41da9286 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sat, 23 May 2020 14:16:49 +0000 Subject: [CWEB] Treat {pdf,xe}.web like tex.web and mf.web. git-svn-id: svn://tug.org/texlive/trunk@55243 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/ChangeLog | 4 ++++ Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/web2c') diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index e11fb23cf9b..6e1037759c9 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,7 @@ +2020-05-23 Andreas Scherer + + * texinputs/pdfwebtocfront.tex: Add treatment for {pdf,xe}tex.web. + 2020-05-22 Andreas Scherer * texinputs/Xcwebmac.tex: Activate alternative assignment operator. diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex index ee092c7b42a..8e72c76a074 100644 --- a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex +++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex @@ -46,8 +46,10 @@ \ifx\x\y \def\num{1}\else \edef\y{\detokenize{mf}}% \ifx\x\y \def\num{1}\else + \edef\y{\detokenize{pdftex}}% + \ifx\x\y \def\num{1}\else \edef\y{\detokenize{xetex}}% - \ifx\x\y \def\num{1}\fi\fi\fi + \ifx\x\y \def\num{1}\fi\fi\fi\fi \expandafter\endgroup\ifnum\num=1 % \def\contentspagenumber{2}% \let\ORGpageno\pageno -- cgit v1.2.3