# [XeTeX] Fontspec 2.1 and Hoefler Text Italic

Herbert Schulz herbs at wideopenwest.com
Mon Nov 8 23:00:29 CET 2010

On Nov 8, 2010, at 8:39 AM, Alex Steinberg wrote:

> Hi all,
>
> I have a problem with using Hoefler Text and the newly updated fontspec (v2.1).
>
> Before the update it was possible to avoid fancy swirls at the beginning and end of italicised words in Hoefler Text by specifying something like the following:
> \setmainfont[ItalicFeatures={Contextuals={NoLineFinal,NoLineInitial}}]{Hoefler Text}
>
> However, since the update, the following minimal code:
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont[Contextuals=NoLineFinal]{Hoefler Text Italic}
> \begin{document}
> \end{document}
>
> produces this error message: ! Undefined control sequence.
> <argument> \intexpr_if_even:nTF
> {7}{\tl_set:Nx \l_tmpb_tl {\XeTeXselectornam...
> and the document does not compile.
>
> Is there another way of turning off the swirls at the beginning and end of words in Italic Hoefler Text, or, alternatively, an easy way of reverting to the working fontspec version?
>
>
> Best,
>
> Alex.

Howdy,