summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-05 21:34:34 +0000
committerKarl Berry <karl@freefriends.org>2019-11-05 21:34:34 +0000
commitfaac65e4c5efc26d958be7633783eecc9d0c0ddc (patch)
tree25c43aa9a9d4ae29d8f1ff581378f0b6063e2d28 /Master/texmf-dist
parent2f09d9add9eae9ec35b1fbb6149a5a3894a88676 (diff)
iftex (5nov19)
git-svn-id: svn://tug.org/texlive/trunk@52644 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/iftex/ann.txt52
-rw-r--r--Master/texmf-dist/doc/generic/iftex/iftex.pdfbin201646 -> 201807 bytes
-rw-r--r--Master/texmf-dist/tex/generic/iftex/iftex.sty15
3 files changed, 13 insertions, 54 deletions
diff --git a/Master/texmf-dist/doc/generic/iftex/ann.txt b/Master/texmf-dist/doc/generic/iftex/ann.txt
deleted file mode 100644
index 9e153b59ab2..00000000000
--- a/Master/texmf-dist/doc/generic/iftex/ann.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-** UPLOAD: iftex
-https://ctan.org/pkg/iftex
-
-New README will be uploaded, please change catalogue to say
-maintained by LaTeX Team
-Licence LPPL 1.3
-Bug Tracker: https://github.com/latex3/iftex/issues/
-Repository: https://github.com/latex3/iftex/
-
-** UPLOAD: oberdiek
-https://ctan.org/pkg/oberdiek
-This release will not distribute ifpdf.sty ifluatex.sty ifvtex.sty
-
-
-** DELETE ifxetex
-https://ctan.org/pkg/ifxetex
-Please change the catalogue to point to the iftex distribution (which will contain ifxetex.sty)
-and change maintainer and github links as for iftex above.
-
-Will Robertson is on LaTeX Team so aware of this.
-
-** DELETE ifetex
-https://ctan.org/pkg/ifetex
-Please change the catalogue to point to the iftex distribution (which will contain ifetex.sty)
-and change maintainer and github links as for iftex above.
-
-Martin Scharrer <martin.scharrer@web.de> has agreed to his version of ifetex being deleted
-
-> Hi David,
->
-> I always hated the fact that there where so many if..tex packages and I
-> am glad that you people rationalise them now.
->
-> Feel free to withdraw my package ifetex from CTAN.
->
-> Best Regards,
->
-> Martin
-
-** CATALOGUE Change ifpdf, ifluatex, ifvtex
-https://ctan.org/pkg/ifpdf
-https://ctan.org/pkg/ifluatex
-https://ctan.org/pkg/ifvtex
-Please change the catalog entries for these three so they point to iftex as above,
-not to the oberdiek bundle.
-
-
-** NO CHANGE
-Just to confirm ifptex and ifxptex packages are _not_ affected by this re-arrangement.
-
-
-
diff --git a/Master/texmf-dist/doc/generic/iftex/iftex.pdf b/Master/texmf-dist/doc/generic/iftex/iftex.pdf
index 426b5c4622d..c46ce713ae4 100644
--- a/Master/texmf-dist/doc/generic/iftex/iftex.pdf
+++ b/Master/texmf-dist/doc/generic/iftex/iftex.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/generic/iftex/iftex.sty b/Master/texmf-dist/tex/generic/iftex/iftex.sty
index feb5a75f8d7..4c1923c2c1d 100644
--- a/Master/texmf-dist/tex/generic/iftex/iftex.sty
+++ b/Master/texmf-dist/tex/generic/iftex/iftex.sty
@@ -16,7 +16,6 @@
%% ifptex Takayuki YATO
%% ifpdf Heiko Oberdiek and LaTeX3 Project
-
% Only load once (not needed in LaTeX, but does no harm).
\csname IFTEX\string @loaded\endcsname
\expandafter\let\csname IFTEX\string @loaded\endcsname\endinput
@@ -31,7 +30,7 @@
% ProvidesPackage declaration in LaTeX
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
- \ProvidesPackage{iftex}[2019/10/24 v1.0a TeX engine tests]
+ \ProvidesPackage{iftex}[2019/11/04 v1.0b TeX engine tests]
\fi
% Save @ catcode, to restore at end, not needed in LaTeX.
@@ -108,6 +107,7 @@
\IFTEX@let{eTeX}{etex}
% pdftex (including in dvi mode)
+\IFTEX@let{IFTEX@savedpdftex}{pdftex}
\ifx\pdftexversion\@undefined
\IFTEX@let{pdftex}{false}
\else
@@ -173,6 +173,7 @@
\IFTEX@let{pTeXng}{ptexng}
% vtex
+\IFTEX@let{IFTEX@savedVTeX}{VTeX}
\ifx\VTeXversion\@undefined
\IFTEX@let{vtex}{false}
\else
@@ -227,5 +228,15 @@ 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