7 Jul
2006
7 Jul
'06
10:06 a.m.
All, How do you get two enumerations to use a common counter? This didn't work. \setupoutput[pdf] \newcounter\NonFigCtr \define\nctr{\doglobal\increment\NonFigCtr \color[red]{[\NonFigCtr]}} \defineenumeration [remark] [location=serried, width=broad, text=Remark, headstyle=bold, inbetween=\blank, before=\blank, after=\blank, way=bysection, number=nctr] \defineenumeration [definition] [location=serried, width=broad, text=Definition, headstyle=bold, inbetween=\blank, before=\blank, after=\blank, way=bysection, number=nctr] \starttext \startremark Foo \stopremark \startdefinition Foo \stopdefinition \stoptext