From 04d20bf539b0229a625527aaf827c4fd41da9286 Mon Sep 17 00:00:00 2001
From: Andreas Scherer <andreas_tex@freenet.de>
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/texinputs/pdfwebtocfront.tex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex')

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

