CTAN Comprehensive TeX Archive Network

CTAN has a new pack­age: if­tex

Date: April 5, 2010 2:15:35 PM CEST
This should within a day be at your lo­cal mir­ror. Jim Hef{}feron Saint Michael's Col­lege ........................................................................... The fol­low­ing in­for­ma­tion was pro­vided by our fel­low con­trib­u­tor: Name of con­tri­bu­tion: if­tex Ver­sion num­ber: 0.1 Author's name: Vafa Kha­lighi Lo­ca­tion on CTAN: /macros/la­tex/con­trib/if­tex Sum­mary de­scrip­tion: Am I run­ning un­der PDFTeX, or XeTeX, or LuaTeX? Li­cense type: lppl An­nounce­ment text:
This very sim­ple pack­age, for both Plain TeX and LaTeX, de­fines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX boolean for test­ing whether PDFTeX, or XeTeX, or LuaTeX is be­ing used for type­set­ting. Also pro­vides the \Re­quirePDFTeX, \Re­quireXeTeX, and \Re­quireLuaTeX com­mand which throws an er­ror if PDFTeX, XeTeX and LuaTeX (re­spec­tively) is not the en­gine in use.
This pack­age is lo­cated at http://tug.ctan.org/tex-archive/macros/la­tex/con­trib/if­tex . More in­for­ma­tion is at http://tug.ctan.org/pkg/if­tex (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .

if­tex – Am I run­ning un­der pdf, or Lua?

The pack­age, which works both for Plain and for , de­fines the \ifPDF, \if, and \ifLua con­di­tion­als for test­ing which en­gine is be­ing used for type­set­ting.

The pack­age also pro­vides the \Re­quirePDF, \Re­quire, and \Re­quireLua com­mands which throw an er­ror if pdf, or Lua (re­spec­tively) is not the en­gine in use.

Copy­right2010 Per­sian Group
Main­tainerbidi-tex GitHub Or­gan­i­sa­tion
Vafa Kha­lighi (in­ac­tive)



Guest Book Sitemap Contact Contact Author