[OS X TeX] ifthenelse in or for engines

Alain Schremmer Schremmer.Alain at gmail.com
Mon Feb 26 15:06:52 CET 2007


Friedrich Vosberg wrote:

> Morning.
>
> I want to use different engines depending on the name of the file. For 
> example:
>
> IF filename CONTAINS *-copy.*
> USE %!TEX TS-program = copy.engine
> ELSEIF filename CONTAINS *-draft.*
> USE %!TEX TS-program = draft.engine
> ELSE
> USE %!TEX TS-program = final.engine

For a couple of months now, I have seen "engines" mentioned on this list 
but I thought they had to do with installing this or that esoteric piece 
of program and didn't mind not understanding. The above though seems 
different. Could you elaborate on what the above engines, "copy.engine Â… 
, draft.engine Â… , final.engine Â… " would be doing and maybe also on 
what an engine IS?

Regards
--schremmer

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list