CTAN Comprehensive TeX Archive Network

CTAN update: iftex

Date: November 19, 2026 1:24:05 PM CET
The LaTeX Project Team submitted an update to the iftex package. Version: 1.0h 2026-11-17 License: lppl1.3c Summary description: Am I running under pdfTeX, XeTeX or LuaTeX? Announcement text:
Update to iftex to address issues reported, notably ensuring that \ifpdftex is false in luatex even if pdftex compatibility names are defined.
This package is located at https://mirrors.ctan.org/macros/generic/iftex More information is at https://ctan.org/pkg/iftex
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

If – Am I running under pdf, or Lua?

The package, which works both for Plain and for , defines the \ifPDF, \if, and \ifLua conditionals for testing which engine is being used for typesetting.

The package also provides the \RequirePDF, \Require, and \RequireLua commands which throw an error if pdf, or Lua (respectively) is not the engine in use.

PackageIfTeX
Version1.0h 2026-11-17
MaintainerThe Project Team
Vafa Khalighi (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author