[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 9 14:59:38 1994 
Subject:Re: tailoring ved 
From:Roger Evans 
Volume-ID:940510.02 

Terry,

I haven't seen anyone beat me to it, so here goes. Two problems. First
ved <enter> procedures don't take formal arguments - their arg is in
-vedargument- (clearly you know this for ved_s, but didn't extrapolate
to your ved_i as well). Second, you need four backslashes cos the string
gets interpreted twice - once at compile time and again (I assume) by
ved_s. So you need 4 to make sure one is left at the end!
So it looks like this:

    define ved_i;
        dlocal vedargument;

         '/' >< vedargument >< '/@&\\\\index{@&}' -> vedargument;
         ved_s();
    enddefine;

regards

Roger