[XeTeX] ifxetex package

Bruno Voisin bvoisin at mac.com
Sun Jun 18 18:30:13 CEST 2006

Le 13 juin 06 à 18:45, Will Robertson a écrit :

> Note that there is now a very simple package on CTAN called ifxetex:
>    <http://tug.ctan.org/tex-archive/macros/xetex/latex/ifxetex>
> It can be used for either LaTeX or Plain (or ConTeXt) to provide the
> \ifxetex conditional, a la ifpdf. All (4) XeTeX package writers take
> note :)

Hi Will,

Just seeing this today. Nice!

Did you look at all the checks made by ifpdf.sty and ifvtex.sty, to  
make sure the package is loaded only once even if called several  
times by other packages, and to make sure the \ifpdf and \ifvtex  
switches return the correct value whatever version of pdfTeX and VTeX  
is running? In XeTeX, in particular, that would mean \ifxetex  
returning a correct value even when called on a version of XeTeX in  
which \XeTeXversion had not been introduced.

Do you think it would be worth wandering into the same level of  
complexity for XeTeX?


More information about the XeTeX mailing list