summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-mat.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-03-29 23:20:13 +0300
committerMarius <mariausol@gmail.com>2012-03-29 23:20:13 +0300
commit92a2e9177b3d0dc1948bf34db0525af6fb2fdafd (patch)
tree1cee25428157b56d483f31a6ec1a26911206d2ca /tex/context/base/strc-mat.mkiv
parentbfb595540fef9d2630eb93de2cae42d6a2928b55 (diff)
downloadcontext-92a2e9177b3d0dc1948bf34db0525af6fb2fdafd.tar.gz
beta 2012.03.29 22:00
Diffstat (limited to 'tex/context/base/strc-mat.mkiv')
-rw-r--r--tex/context/base/strc-mat.mkiv18
1 files changed, 9 insertions, 9 deletions
diff --git a/tex/context/base/strc-mat.mkiv b/tex/context/base/strc-mat.mkiv
index 276dd8d59..121808cd1 100644
--- a/tex/context/base/strc-mat.mkiv
+++ b/tex/context/base/strc-mat.mkiv
@@ -49,18 +49,18 @@
\setupsubformulas % subformulas could be last in chain
[\c!indentnext=\formulaparameter\c!indentnext]
-\definestructurecounter
+\definecounter
[\v!formula]
\defineconversionset
[\v!formula]
[numbers,characters]
-\presetstructurecountersetup\setupformulas\sharedstructurecounterparameter
+\strc_counter_preset_using_parameter\setupformulas\sharedcounterparameter
\appendtoks
- \dostructurecountersetup\v!formula\formulaparameter
- \docheckstructurecountersetup\v!formula % yes or no
+ \strc_counter_setup_using_parameter\v!formula\formulaparameter
+ \strc_counters_check_setup\v!formula % yes or no
\to \everysetupformula
\setupformulas
@@ -128,7 +128,7 @@
\def\storecurrentformulanumber#1#2#3#4#5% ref, todo:str, \sync % todo: title etc (like float)
{\settrue\handleformulanumber
- \dostructurecountercomponent
+ \strc_counters_register_component
{formula}%
\setupcurrentformula \formulaparameter \detokenizedformulaparameter
\relax \relax \relax
@@ -137,9 +137,9 @@
\c!reference=#1,\c!title=\namedformulaentry,\c!bookmark=]%
[#2]%
\glet\namedformulaentry\empty % \relax
- \globallet#3\laststructurecounternumber
- \globallet#4\laststructurecountersynchronize
- \globallet#5\laststructurecounterattribute}
+ \globallet#3\m_strc_counters_last_registered_index
+ \globallet#4\m_strc_counters_last_registered_synchronize
+ \globallet#5\m_strc_counters_last_registered_attribute}
% modes: 0=unset, 1=forced, 2=none, 3=reference
@@ -222,7 +222,7 @@
\def\doplacecurrentformulanumber
{\dohandlecurrentformulareferences
- \labeltexts\currentformula{\convertedstructurecounter[\v!formula][]}}
+ \labeltexts\currentformula{\convertedcounter[\v!formula][]}}
% \def\theboxdestinationattribute#1{\iflocation\ifx#1\relax\else\ifx#1\empty\else attr \destinationattribute#1\fi\fi\fi}
% \def\thedestinationattribute #1{\iflocation\ifx#1\relax\else\ifx#1\empty\else \attribute\destinationattribute#1\fi\fi\fi}