[XeTeX] adding some diacritics to a font

Benct Philip Jonsson bpj at melroch.se
Wed Jan 7 17:40:28 CET 2009


On 2009-01-07 Ross Moore wrote:
> > Xunicode.sty translates
> > > typical LaTeX constructs like \d{n} to their real 
> Unicode value. And
> > > if the font does not have a glyph at this position, 
> then you'll see
> > > an OPEN BOX character, I

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

> 
> 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)?


More information about the XeTeX mailing list