[OS X TeX] ifthenelse in or for engines

Friedrich Vosberg fvosberg at mac.com
Mon Feb 26 14:08:40 CET 2007


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

Must I define this switch in the engine file or in the tex file?

TIA and kind regards, Friedrich

--
In a world without walls and fences, who needs gates and windows?




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