[OS X TeX] Testing for fontspec package

firstian at rcn.com firstian at rcn.com
Tue Sep 4 09:59:32 EDT 2007

I have a tex file that needs to be compiled for both xelatex and regular latex (both 
use pdflatex to generate pdf directly). The tex file currently uses fontspec, which 
the regular latex doesn't like. Is there a way to test for whether fontspec is installed 
in the tex file itself, so it can work for both without modifications?

------------------------- 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 MacOSX-TeX mailing list