[XeTeX] Hyphenation question

jropers at freesurf.fr jropers at freesurf.fr
Tue Oct 17 11:39:42 CEST 2006


You are right indeed, that solves the issue.
Thanks a lot,
Jacques.


> On 16 Oct 2006, at 8:41 pm, jropers at freesurf.fr wrote:
>
>> Actually the problem seems to be somehow related to font selection.
>> Indeed, 'bare' Xelatex with standard font (no fancy otf font
>> selection) hyphenates correctly words with an apostrophe, whereas
>> when using an otf font(/fontspec), the text is not automatically
>> hyphenated, compilation yields overfull boxes unless hyphenation
>> points are manually inserted.
>
> A guess (untested): this is because the tex-text font mapping is
> converting the ' in your text (apparently accepted for hyphenation
> with babel/francais) into U+2019 (Unicode closing single quote mark)
> which is not valid as a letter in a word to be hyphenated.
>
> If so, it might be fixed by saying
>
>   \lccode"2019="2019
>
> at the beginning of your document.
>
> JK
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex





More information about the XeTeX mailing list