summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2020-05-23 11:47:37 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2020-05-23 11:47:37 +0000
commit5a19b7ec532d460a5601036e16840f4f49974d66 (patch)
tree0d00b665afe3f1da41e27be35ac57f9e19570aa0
parent62f371be7a26743e75bde45b68825e422e4a134f (diff)
Treat XeTeX like TeX and Metafont.
git-svn-id: svn://tug.org/texlive/trunk@55242 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex13
1 files changed, 5 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
index be662846096..ee092c7b42a 100644
--- a/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
+++ b/Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex
@@ -43,14 +43,11 @@
\def\num{0}%
\edef\x{\jobname}%
\edef\y{\detokenize{tex}}%
- \ifx\x\y
- \def\num{1}%
- \else
- \edef\y{\detokenize{mf}}%
- \ifx\x\y
- \def\num{1}%
- \fi
- \fi
+ \ifx\x\y \def\num{1}\else
+ \edef\y{\detokenize{mf}}%
+ \ifx\x\y \def\num{1}\else
+ \edef\y{\detokenize{xetex}}%
+ \ifx\x\y \def\num{1}\fi\fi\fi
\expandafter\endgroup\ifnum\num=1 %
\def\contentspagenumber{2}%
\let\ORGpageno\pageno