![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Hi Hans, in the following three files the additional check is necessary because otherwise changes for the counter (e.g. prefix=…) would also change the global counter settings from \setupstructurecounting. strc-not.mkvi: \appendtoks - \strc_notes_setup_counter\currentnotation + \ifx\currentnotation\empty \else + \strc_notes_setup_counter\currentnotation + \fi \to \everysetupnotation strc-enu.mkvi: \appendtoks - \strc_enumerations_setup_counter\currentenumeration + \ifx\currentenumeration\empty \else + \strc_enumerations_setup_counter\currentenumeration + \fi \to \everysetupenumeration strc-lab.mkvi \appendtoks - \strc_labels_setup_counter\currentlabel + \ifx\currentlabel\empty \else + \strc_labels_setup_counter\currentlabel + \fi \to \everysetuplabel In the following two files you can remove the \strc_counters_check_setup\… line because it’s already called from \strc_counter_setup_using_parameter in the previous line. strc-flt.mkvi: \appendtoks \let\currentfloat\currentfloatcaption \ifx\currentfloat\empty \else \strc_counter_setup_using_parameter\currentfloatcaption\floatcaptionparameter - \strc_counters_check_setup\currentfloatcaption \fi \to \everysetupfloatcaption strc-mat.mkiv: \appendtoks \strc_counter_setup_using_parameter\v!formula\formulaparameter - \strc_counters_check_setup\v!formula % yes or no \to \everysetupformula Wolfgang
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 18-10-2012 17:08, Wolfgang Schuster wrote:
Hi Hans,
in the following three files the additional check is necessary because otherwise changes for the counter (e.g. prefix=…) would also change the global counter settings from \setupstructurecounting.
In the following two files you can remove the \strc_counters_check_setup\… line because it’s already called from \strc_counter_setup_using_parameter in the previous line.
okay Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster