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
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to