21 Jun
2013
21 Jun
'13
5:40 p.m.
Dear list, I have the following code: \definenumber[lnt] \setupnote[linenote][paragraph=yes] \def\variant#1#2{% \startlinenote[0]{#1] #2}#1% \stoplinenote[0]} \starttext \startlinenumbering \variant{body text}{variant} \stoplinenumbering \stoptext And I would like to make \variant operative, so I thought I could replace 0 with a counter, redefining it so: \def\variant#1#2{% \startlinenote[\getnumber[lnt]]{#1] #2}#1% \stoplinenote[\getnumber[lnt]]% \incrementnumber[lnt]} But it doesn't work. How could I make that \variant handles a different reference for the linenote each time is invoked? Many thanks for your help, Pablo -- http://www.ousia.tk