30 Jun
2015
30 Jun
'15
12:31 p.m.
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