19 Nov
2013
19 Nov
'13
5:48 p.m.
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