[XeTeX] (lack of ) hyphenation and overfull box

Jonathan Kew jonathan_kew at sil.org
Thu May 10 18:00:51 CEST 2007


On 10 May 2007, at 4:32 pm, Cyril Niklaus wrote:

> Hi all,
>
> I'm a bit at a loss as to hyphenation here.
> I was typesetting a longish article from the Monde Diplomatique and I
> got several
> overfull boxes, some quite important:
>
> Overfull \hbox (37.86932pt too wide) in paragraph at lines 108--109
> \EU1/ChaparralPro(0)/m/n/12 mar Mondal tranchent avec les manières
> ampoulées
> de bien des responsables d’organisations
>
> while at the same time other words are hyphanated:
> Ku-mar; minus-cule
>
> It would seem that the apostrophe is troubling the software. What
> can  be done, besides indicating by hand the break points?

It looks like the French patterns aren't aware of the Unicode  
apostrophe. You could work around this by assigning

   \lccode"2019="0027

so that it is treated the same as the old ASCII apostrophe for  
hyphenation.

Ideally, the {francais} option would set this up, I guess, but Babel  
isn't aware of XeTeX and Unicode.

JK



More information about the XeTeX mailing list