[XeTeX] makeindex and active characters

William Adams will.adams at frycomm.com
Wed Sep 27 21:04:41 CEST 2006


On Sep 27, 2006, at 1:40 PM, Musa Furber wrote:

> After first defining my set of active char definitions like
>
> \newcommand{\oneEzeroC}{{\transfont\string Ḍ\normalfont\selectfont}}
> \catcode"1E0C=\active \def^^^^1e0c{{\protect\oneEzeroC}}
>
> I create two macros, one to set up the active chars (a repeat of the
> above) and another to de-activate them with
>
> \catcode"1E0C=11
>
> but then I'm still left with a lot of font garbage in the .idx.

Okay, then try something this:

\newcommand{\forminindex}[1]{\catcode"1E0C=11\index{#1}\catcode"1E0C= 
\active}

adding catcodes to affect addition characters as necessary.

> Maybe my problem is that I quit coffee two days ago.

I gave it up almost a year ago 'cept for special occasions and when  
travelling (and the odd emergency) --- it's rough sometimes (I've got  
a small pouch of Kona pinned to my cubicle wall here at work right  
over my expresso machine labeled ``FOR EMERGENCY USE ONLY'').

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


More information about the XeTeX mailing list