diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/iftex/iftex.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/iftex/iftex.sty | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/iftex/iftex.sty b/Master/texmf-dist/tex/generic/iftex/iftex.sty index 4a6407df6a2..a6231d344b3 100644 --- a/Master/texmf-dist/tex/generic/iftex/iftex.sty +++ b/Master/texmf-dist/tex/generic/iftex/iftex.sty @@ -12,7 +12,7 @@ \let\iftexloaded\endinput \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else \ProvidesPackage{iftex} - [2010/07/25 v0.1 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX] + [2010/07/25 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX] \fi \def\RequirePDFTeX{% \ifPDFTeX\else @@ -60,18 +60,21 @@ \expandafter\endinput \fi \newif\ifPDFTeX +\begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname pdfmatch\endcsname\relax \PDFTeXfalse \else \PDFTeXtrue \fi \newif\ifXeTeX +\begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname XeTeXinterchartoks\endcsname\relax \XeTeXfalse \else \XeTeXtrue \fi \newif\ifLuaTeX +\begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname directlua\endcsname\relax \LuaTeXfalse \else |