[XeTeX] Hyphenation question
Jonathan Kew
jonathan_kew at sil.org
Tue Oct 17 00:05:20 CEST 2006
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
More information about the XeTeX
mailing list