[texhax] Automated package option choice possible?

Uwe Lueck uwe.lueck at web.de
Thu Oct 7 21:21:12 CEST 2010


"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.


More information about the texhax mailing list