[XeTeX] weird hyphenation

Ulrike Fischer news3 at nililand.de
Wed May 6 10:00:08 CEST 2009


Am Tue, 05 May 2009 20:23:25 +0200 schrieb Pablo Rodríguez:

> Hi there,
> 
> using XeTeX from TL2007 (the one that comes with my distribution), I 
> experience a weird problem using Spanish babel hyphenation, since it 
> gives the following hyphenation: «terrorista-s»? (guillemots and 
> question mark are included in original text).
> 
> This is wrong in Spanish (and I guess it would be in any other Western 
> language). Wouldn't it be possible to define a command that prevents 
> XeTeX to consider «, » and maybe ? “hyphenable” characters?

\lccode`\»=0 should do the trick (you don't need this for ?, its
\lccode is already 0). 

I don't know why » has got assigned an \lccode different from 0. 



-- 
Ulrike Fischer 



More information about the XeTeX mailing list