summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/texinputs/pdfwebtocfront.tex4
2 files changed, 7 insertions, 1 deletions
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 <https://ascherer.github.io>
+
+ * texinputs/pdfwebtocfront.tex: Add treatment for {pdf,xe}tex.web.
+
2020-05-22 Andreas Scherer <https://ascherer.github.io>
* 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