[XeTeX] redefining Unicode characters

Khaled Hosny khaledhosny at eglug.org
Tue Jan 15 06:40:56 CET 2013


On Mon, Jan 14, 2013 at 11:45:18PM -0500, Mike Maxwell wrote:
> My preference would be if it were possible for XeLaTeX itself to do
> the conversion.  Note that I do not want to create a command
> (prefixed by a \ and using {}, I suppose) to do this; that would be
> almost as bad as the first method.  Is there any way to tell XeLaTeX
> to map a particular sequence of Unicode code points to a different
> code point?  I didn't see anything obvious in the fontspec manual.

Yup, TECkit font mappings.

> I'm assuming there's no straightforward way to tell XeTeX to place
> an acute slightly higher when it immediately follows a macron.  Such
> a solution would solve problems that will arise later when we have
> other sequences of stacked diacritics, which are not given
> pre-composed forms in the publisher's font.

You can probably get something OKish with TeX’s \accent or some other
form of box manipulation, but you will have to use \'s and {}'s.

Regards,
Khaled


More information about the XeTeX mailing list