[XeTeX] adding some diacritics to a font

Peter Dyballa Peter_Dyballa at Web.DE
Wed Jan 7 23:27:27 CET 2009


Am 07.01.2009 um 17:40 schrieb Benct Philip Jonsson:

> Will it also try to replace letter + Uncode combining
> diacritics with perhaps nonexisting precomposed characters too?

Experiments show that this does not happen. And I also could not find  
code that could do this.

>
>>
>> Use the latter as follows.
>> Where  xunicode.sty  has a line
>>
>>     \DeclareUTFcomposite[\UTFencname]{x1E47}{\d}{n}
>>
>> After loading the package, simply include in your
>> preamble:
>>
>>     \UndeclareUTFcomposite[\UTFencname]{x1E47}{\d}{n}
>>
>> (Copy the \Declare... line from  xunicode.sty  and
>>   change the letters at the start of the macro-name.)
>> \UndeclareUTFcharacter  works the same way.
>>
>
> Should it really say '\UTFencname' literally, or should
> it be replaced by an actual encoding name (\utf8 or whatever)?

\UTFencname is no literal string but a variable that holds an  
encoding value. In XeLaTeX its value is usually "EU1."

--
Greetings

   Pete

The world would be a better place if Larry Wall had been born in  
Iceland, or any other country where the native language actually has  
syntax.
				– Peter da Silva





More information about the XeTeX mailing list