Aditya Mahajan wrote:
On Fri, 6 Jun 2008, Hans Hagen wrote:
\def\domnote[#1]#2% {\doglobal\increment\MyMarginalNote\plusone \inmargin {\MyMarginalNote: \doifsomething{#1} {\expanded{\textreference[#1]{\MyMarginalNote}}}% #2}% \high{\MyMarginalNote}}
There should not be a \plusone in the first line. Read the documentation of \increment in syst-ext ;)
yeah, stupid ... actualy, in the core i'm weeding out those increments because we now have many counters and \advance needs the plusone, but nevertheless for quick and dirty usage macro based counters are ok 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 -----------------------------------------------------------------