[XeTeX] Testing for XeTeX

Ulrike Fischer news3 at nililand.de
Tue Feb 2 19:27:09 CET 2010


Am Tue, 02 Feb 2010 17:52:31 +0000 schrieb Philip TAYLOR:

> What is the recommended way to test if one is compiling
> under XeTeX ?  I na\ively assumed that the following
> would suffice, but it did not :

Package ifxetex defines a \ifxetex-switch. 

(With
\newif\ifxetex
\expandafter\ifx\csname XeTeXrevision\endcsname\relax
  \xetexfalse
\else
  \xetextrue
\fi}

-- 
Ulrike Fischer 



More information about the XeTeX mailing list