[XeTeX] makeindex and active characters

Musa Furber musaf_spamtrap at runbox.com
Wed Sep 27 14:14:24 CEST 2006


On 27 Sep 2006, at 14:14, William Adams wrote:

> On Sep 26, 2006, at 5:17 PM, musa furber wrote:
>
>> Is there any way to suppress the expansion of the active characters
>> just when index entries are written?
>
> No. Instead try something like:
>
> \newcommand{\oneEzeroC}{{\transfont\string Ḍ\normalfont
> \selectfont}}
>
> \catcode"1E0C=\active \def^^^^1e0c{{\protect\oneEzeroC}}
>
> which'll get ``\oneEzeroC'' into your .idx which should be okay
> (untested). If necessary, add a second layer of ``\protect''ion. (say
> using \newcommand{\oneezeroc}{{\protect\oneEzeroC}} adjusting the
> naming (and order of naming) as needed)

This does the trick.

My thanks to you and Will for your help.

Regards,
Musa



More information about the XeTeX mailing list