[XeTeX] weird hyphenation

Pablo Rodríguez oinos at web.de
Wed May 6 16:59:12 CEST 2009


Ulrike Fischer wrote:
> 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). 

Thanks, it worked fine.

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

I don't know either.

Many thanks,


Pablo


More information about the XeTeX mailing list