[XeTeX] class "book" in LaTeX

Yves Codet ycodet at club-internet.fr
Sat Sep 18 12:53:33 CEST 2004


Le 18 sept. 04, à 11:44, Jonathan Kew a écrit :

>
> Yes, the latest XeTeX release was supposed to fix this, but it seems 
> that I didn't quite get it right! :-(
>
> A workaround is to ensure that your font name includes a space; that 
> will force XeTeX to quote the name returned by \fontname, and this in 
> turn makes the LaTeX substitution work. For example,
>
>   \DeclareFontShape{U}{Zapfino}{m}{n}%
>      {<-> "Zapfino:Ligatures=Common\space Ligatures"}{}
>
> (which makes no difference, as the Common Ligatures feature is on by 
> default anyway). With this modification, your file should run fine.

Yes, it works like this. I could as well use ornaments, so the "\space" 
would be more than a workaround and the output even prettier :)

> Incidentally, I noticed that you loaded the utf8accents package; as 
> you're using Unicode input directly in this document, there's no need 
> for that. (It shouldn't do any harm, either, but why make XeTeX take 
> time reading extra source files?)
>
I must have misunderstood its use. I thought it was necessary to avoid 
trouble with things like "Premi\`ere Partie" in "french.ldf".

Kind regards,

Yves



More information about the XeTeX mailing list