On  15 Oct, 2010, at 02:38, Ulrike Fischer wrote:

> Am Thu, 14 Oct 2010 20:44:19 +0200 schrieb Pablo Rodríguez:
> 
>> for some strange reason using both XeTeX and LuaTeX the \emph{} command 
>> contained in the sample document below exceeds TeX capacity:
>> 
>> \documentclass[12pt]{slides}
>> \usepackage{fontspec}
>> \setsansfont{FreeSans}
>> \begin{document}
>> hi \emph{hello}
>> \end{document}
>> 
>> [...]
> 
> That's a quite ironic bug. slides is doing what Will likes to do
> too: It handles \textit and \textsl identically by setting 
> 
> \def\itdefault{sl}
> \def\sldefault{sl}
> 
> Now when you are using \textsl, fontspec doesn't find 
> EU1/Arial(0)/m/\sldefault and tries 
> EU1/Arial(0)/m/\ifdefault instead and ends in a loop: [...]

Aha! That explains why it works without setting any sans font ---that is, 
letting fontspec use its Latin Modern default.


Best

Axel





--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to