CTAN has a new package: iftex
Date: April 5, 2010 2:15:35 PM CEST
This should within a day be at your local mirror.
Jim Hef{}feron
Saint Michael's College
...........................................................................
The following information was provided by our fellow contributor:
Name of contribution: iftex
Version number: 0.1
Author's name: Vafa Khalighi
Location on CTAN: /macros/latex/contrib/iftex
Summary description: Am I running under PDFTeX, or XeTeX, or LuaTeX?
License type: lppl
Announcement text:
This very simple package, for both Plain TeX and LaTeX, defines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX boolean for testing whether PDFTeX, or XeTeX, or LuaTeX is being used for typesetting. Also provides the \RequirePDFTeX, \RequireXeTeX, and \RequireLuaTeX command which throws an error if PDFTeX, XeTeX and LuaTeX (respectively) is not the engine in use.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/iftex . More information is at http://tug.ctan.org/pkg/iftex (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
This very simple package, for both Plain TeX and LaTeX, defines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX boolean for testing whether PDFTeX, or XeTeX, or LuaTeX is being used for typesetting. Also provides the \RequirePDFTeX, \RequireXeTeX, and \RequireLuaTeX command which throws an error if PDFTeX, XeTeX and LuaTeX (respectively) is not the engine in use.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/iftex . More information is at http://tug.ctan.org/pkg/iftex (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
iftex – Am I running under pdfTeX, XeTeX or LuaTeX?
The package, which works both for Plain TeX and for LaTeX, defines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX conditionals for testing which engine is being used for typesetting.
The package also provides the \RequirePDFTeX, \RequireXeTeX, and \RequireLuaTeX commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not the engine in use.
Package | iftex |
Version | 1.0g 2024-12-12 |
Maintainer | The LaTeX Project Team Vafa Khalighi (inactive) |