[OS X TeX] xelatex fail with TeX Live 2011

Herbert Schulz herbs at wideopenwest.com
Sat Aug 13 21:31:48 CEST 2011

On Aug 13, 2011, at 2:11 PM, Antonio Fortin wrote:

> Hi,
> I've just installed TeX Live 2011 with MacTeX and my XeLaTeX files now won't compile. The errors are mostly related to fontspec.sty, as far as I can see, and a few to xparse.sty. I've attached the log that's generated when I try to compile the following minimal example:
> \documentclass{article}
> \usepackage{xltxtra}
> \begin{document}
> This is a test
> \end{document}
> This doesn't happen when I revert to TeX Live 2010. I've made sure that all my TeX Live 2011 packages are up-to-date in TeX Live Utility.
> Any idea what's going wrong?
> Cheers,
> Antonio


It compiles fine with TL-2011 here. I'd make sure I have all my files up to date using TeX Live Utility. There have been many updates since TL-2011 (and MacTeX-2011) have been released. Looks like some problems with the l3 experimental stuff that is used in fontspec.

As an aside, the xltxtra package is no longer the preferred way to load fontspec, etc. Use


instead. The fontspec package now contains much of the xunicode package (which is also loaded by xltxtra) only missing the logo stuff (e.g., \XeLaTeX) and real superscripts if the font used has them).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the macostex-archives mailing list