On Fri, Nov 14, 2008 at 12:58 PM, Alan STONE
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> For example
>
> \define\somemacro[3]{...}
>
> gets invoked with
>
> \somemacro{#1}{#2}{#3}
>
> How do you get rid of those repeating pesky curly brackets and
> invoke a user defined macro with
>
> \somemacro{#1,#2,#3}
>


Not what you want, but I have found useful this

\def\SomeMacro[#1]{%
\getparameters[SOMEMACRO][#1]
%%
%%now you have \csname SOMEMACRO{}\endcsname
%%
%%
}

\SomeMacro[foo=2,boo=4,goo=\TeX, my name is =joe]

\SOMEMACROfoo
\SOMEMACROboo
\SOMEMACROgoo
\csname SOMEMACROmy name is\endcsname


-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to