[latex3-commits] [git/LaTeX3-latex3-iftex] master: add ifpdf.sty wrapper (removing from oberdiek bundle) (fcc147a)
David Carlisle
d.p.carlisle at gmail.com
Sun Oct 27 13:52:36 CET 2019
Repository : https://github.com/latex3/iftex
On branch : master
Link : https://github.com/latex3/iftex/commit/fcc147a9e091e35e9d0ea5262980fc5d6a2ccd3d
>---------------------------------------------------------------
commit fcc147a9e091e35e9d0ea5262980fc5d6a2ccd3d
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Oct 27 12:52:36 2019 +0000
add ifpdf.sty wrapper (removing from oberdiek bundle)
>---------------------------------------------------------------
fcc147a9e091e35e9d0ea5262980fc5d6a2ccd3d
README.md | 7 +++----
ifxetex.sty => ifpdf.sty | 6 +++---
iftex.tex | 6 +++++-
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 0f24951..ec8f5b7 100644
--- a/README.md
+++ b/README.md
@@ -16,16 +16,15 @@ for:
eTeX, PDFTeX, XeTeX, LuaTeX, LuaHBTeX, pTeX, upTeX, pTeX-ng, VTeX, Aleph.
-In addition, an \ifpdf test is provided to test the PDF or DVI output
-mode. This is essentially the same as the existing test in the ifpdf
-package.
+In addition, an \iftutex test is true for XeTeX and LuaTeX, and
+an \ifpdf test is provided to test the PDF or DVI output mode.
## Compatibility Packages
In addition to the main iftex.sty package, small wrapper packages are
provided
-ifetex.sty ifluatex.sty ifvtex.sty ifxetex.sty
+ifetex.sty ifluatex.sty ifvtex.sty ifxetex.sty ifpdf.sty
These include iftex and in some cases emulate some additional
commands to allow these packages to replace the original packages in TeX
diff --git a/ifxetex.sty b/ifpdf.sty
similarity index 61%
copy from ifxetex.sty
copy to ifpdf.sty
index 8261ec2..ec500fb 100644
--- a/ifxetex.sty
+++ b/ifpdf.sty
@@ -1,4 +1,4 @@
-% Compatibility stub package for ifxetex
+% Compatibility stub package for ifpdf
%% LaTeX3 Project
%%
@@ -7,11 +7,11 @@
%% version 1.3c of this license or (at your option) any later
%% version.
-% The original ifxetex package was written by Will Robertson
+% The original ifpdf package was written by Heiko Oberdiek
\ifx\RequirePackage\undefined
\input iftex.sty
\else
- \ProvidesPackage{ifxetex}[2019/10/25 v0.7 ifxetex legacy package. Use iftex instead.]
+ \ProvidesPackage{ifpdf}[2019/10/25 v3.4 ifpdf legacy package. Use iftex instead.]
\RequirePackage{iftex}
\fi
diff --git a/iftex.tex b/iftex.tex
index 122823e..9e42c8b 100644
--- a/iftex.tex
+++ b/iftex.tex
@@ -159,7 +159,11 @@ detects PDF output mode if running in V\TeX.
\section{Additional packages}
This extended \textsf{iftex} is designed to replace the original
\textsf{iftex} and also the packages
-\textsf{ifetex}, \textsf{ifluatex}, \textsf{ifvtex}, \textsf{ifxetex}.
+\textsf{ifetex},
+\textsf{ifluatex},
+\textsf{ifvtex},
+\textsf{ifxetex},
+\textsf{ifpdf}.
This collection includes small packages with these names that include
the main \textsf{iftex} package, and in some cases define additional
More information about the latex3-commits
mailing list