[texhax] Automated package option choice possible?

Herbert Schulz herbs at wideopenwest.com
Fri Oct 8 05:05:38 CEST 2010

On Oct 7, 2010, at 2:21 PM, Uwe Lueck wrote:

> "Uwe Lueck" <uwe.lueck at web.de>, 13.09.2010 22:40:32:
>> "Beuthe, Thomas" , 13.09.2010 22:13:49:
>>> My main question: Is there any way of automating the choice of options?
>>> i.e.
>>> if(packagebeingusedtorun=xelatex) then
>>>  \usepackage[xetex]{color}
>>> or something like that?
>> Yes, it is, for a number of engines. The ones I know are `ifluatex', `ifpdf', `ifvtex', and `ifxetex': 
> a somewhat shaking announcement: I am just working at `ifitex'. You will hear a secret message on running the package documentation file backwards. 
> Cheers, 
>    Uwe.


That, of course, is pronounced ifeeeeTex(bing). Remember it's no longer Tau Epsilon Chi but T E X.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the texhax mailing list