[XeTeX] Problem with Turkish dotted I (U+0130) in headers

Zdenek Wagner zdenek.wagner at gmail.com
Thu May 30 15:22:32 CEST 2013


2013/5/30 Khaled Hosny <khaledhosny at eglug.org>:
> On Thu, May 30, 2013 at 02:45:26PM +0200, Alessandro Ceschini wrote:
>> the problem is that "i" gets capitalized in Turkish
>> as dotted I, that is: "İ" (U+0130) and this, XeLaTeX doesn't do. Is
>> there a way to enjoin it to do so?
>
> Changing \lccode and \uccode values might to the trick:
>
>     \lccode`İ=`i
>     \uccode`i=`İ
>     \lccode`I=`ı
>     \uccode`ı=`I
>
> For testing:
>
>     \uppercase{İiIı}
>     \lowercase{İiIı}
>
> But it might has other side effects I’m not aware about (hyphenation?),

Hyphenation should not be a problem. A word is defined as a sequence
of characters with category 11 and nonzero \lccode (see The TeXbook).
\lccode is used to convert characters to lowercase so that they could
be found in \patterns and \hyphenation.

> and certainly should not be done globally for multilingual documents,
> may be it is something for Polyglossia to do?
>
> Regards,
> Khaled
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex



--
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list