Aditya Mahajan wrote:
>
> It can be configurable. Maybe something like
>
> \defineopttextext[whatever]{\command}
>
> so that with \sometxt[whatever][2nd arg]{stuff} translates to 
> \command[2nd ard]{stuff} and \sometxt[whatever]{stuff} translates to 
> \command{stuff}.
>
> That would involve more work to write the macro \command, but will 
> provide more flexibility.
optional stuff is tricky in macros that (in the mp graphic expansion) 
need to be fully expandable ... in mkiv i will write another 
preprocessor and then such things may be feasible
>
>> But your current code is more than enough for me (apart from the fact
>> that it's not really nice to redefine low-level macros, but I'll try
>> to keep up with low-level changes, should any accur) ;)
>
> Or persuade Hans to have a proper version in the core :)
remind me to look at it -) 

Hans  

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to