Hi Hans,
the setting “way=bypage” is ignored with the current defintion of the
\incrementcounter defintion.
Can you add the folowing defintions to strc-num.mkiv which will bring
back the feature.
\def\strc_counters_increment_two
[#1][#2]{\strc_counters_increment_sub{#1}{#2}}
\def\strc_counters_increment_one
[#1][#2]{\strc_counters_increment_sub{#1}\plusone}
\unexpanded\def\strc_counters_increment
#1{\strc_counters_increment_sub{#1}\plusone}
%%%% begin example
\definecounter[testcounter][way=bypage]
\define\TestCounter
{\incrementcounter[testcounter]
%\convertedcounter[testcounter]
\rawcountervalue [testcounter]}
\starttext
\dorecurse{3}{\TestCounter\page}
\stoptext
%%%% end example
Wolfgang
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context