summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/iftex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-07 21:40:16 +0000
committerKarl Berry <karl@freefriends.org>2020-03-07 21:40:16 +0000
commit98703a86b239c2f8fd87c7e8a62dfe9793bdda7a (patch)
tree826a1caa213ab54586033d2ebd8ad71f824f8daa /Master/texmf-dist/tex/generic/iftex
parentee6fb849489da391a4d22504dd244e02687ec25c (diff)
iftex (7mar20)
git-svn-id: svn://tug.org/texlive/trunk@54159 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/iftex')
-rw-r--r--Master/texmf-dist/tex/generic/iftex/iftex.sty15
1 files changed, 2 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/iftex/iftex.sty b/Master/texmf-dist/tex/generic/iftex/iftex.sty
index 8ee4a0fe796..8306f8663a5 100644
--- a/Master/texmf-dist/tex/generic/iftex/iftex.sty
+++ b/Master/texmf-dist/tex/generic/iftex/iftex.sty
@@ -30,7 +30,7 @@
% ProvidesPackage declaration in LaTeX
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
- \ProvidesPackage{iftex}[2019/11/07 v1.0c TeX engine tests]
+ \ProvidesPackage{iftex}[2020/03/06 v1.0d TeX engine tests]
\fi
% Save @ catcode, to restore at end, not needed in LaTeX.
@@ -109,7 +109,6 @@
\IFTEX@let{eTeX}{etex}
% pdftex (including in dvi mode)
-\IFTEX@let{IFTEX@savedpdftex}{pdftex}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdftexversion\endcsname\relax
\IFTEX@let{pdftex}{false}
@@ -182,7 +181,6 @@
\IFTEX@let{pTeXng}{ptexng}
% vtex
-\IFTEX@let{IFTEX@savedVTeX}{VTeX}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname VTeXversion\endcsname\relax
\IFTEX@let{vtex}{false}
@@ -213,7 +211,7 @@
\IFTEX@let{TUTeX}{tutex}
% Output mode
-% declare with as if with \newif
+% declare as if with \newif
\def\pdftrue{\let\ifpdf\iftrue}
\def\pdffalse{\let\ifpdf\iffalse}
\pdffalse
@@ -239,14 +237,5 @@ end
\fi
-% special compat for scrbase
-\ifx\scr@ifpdftex\@undefined\else\ifx\ifIFTEX@savedpdftex\relax\else
- \IFTEX@let{pdftex}{IFTEX@savedpdftex}
- \IFTEX@protected\def\RequirePDFTeX{\IFTEX@Require\ifPDFTeX{pdfTeX}\fi}
-\fi\fi
-\ifx\scr@ifVTeX\@undefined\else\ifx\ifIFTEX@savedVTeX\relax\else
- \IFTEX@let{VTeX}{IFTEX@savedVTeX}
-\fi\fi
-
% restore things
\catcode64 \IFTEX@atcatcode