On 11/18/2013 11:25 PM, Hans Hagen wrote:
> [...]
> \unexpanded\def\doCritApp#1#2#3%
>    {\startlinenote[#1]{#2 #3}(#2)\stoplinenote[#1]}
> 
> \newcounter\MyCounter
> \unexpanded\def\CritApp
>    {\doglobal\increment\MyCounter
>     \normalexpanded{\doCritApp{Varia:\MyCounter}}}
> [...]
> so, in your macro you need to make sure that the counter (1) gets 
> incremented global and (2) gets expanded in time.

Many thanks for your help, Hans.

I know that it works, but I cannot understand what it actually the above
commands do. Where could I find what expansion is? (Sorry for the basic
question, but I don’t know what it is.)

Many thanks for your help again,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to