diff options
author | Marius <mariausol@gmail.com> | 2012-01-24 12:40:18 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-01-24 12:40:18 +0200 |
commit | 61f9cff70fd57ae1be9208820b4d31bd7152c785 (patch) | |
tree | 393a2d0c960552d2bd29c1c1bdbc0a749d177bb3 /tex/context/base/strc-mat.mkiv | |
parent | 6371f988d54dd0bec1c613110df77e5be103591f (diff) | |
download | context-61f9cff70fd57ae1be9208820b4d31bd7152c785.tar.gz |
beta 2012.01.24 11:11
Diffstat (limited to 'tex/context/base/strc-mat.mkiv')
-rw-r--r-- | tex/context/base/strc-mat.mkiv | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/tex/context/base/strc-mat.mkiv b/tex/context/base/strc-mat.mkiv index d5f864c90..88da8f2cc 100644 --- a/tex/context/base/strc-mat.mkiv +++ b/tex/context/base/strc-mat.mkiv @@ -179,7 +179,7 @@ \def\handlesubformulasnumbering % sub formulas {\docheckformulareference\subformulasnumbermode\currentsubformulasreference - \doincrementsubstructurecounter[\v!formula][1]% always + \strc_counters_increment\v!formula \storecurrentformulanumber \currentsubformulasreference \empty @@ -324,14 +324,14 @@ % needs checking ... too many: \def\dohandleformulanumbering - {\doincrementsubstructurecounter[\v!formula][1]% - \doiftext\currentplaceformulasuffix{\setsubstructurecounterown[\v!formula][2]{\currentplaceformulasuffix}}% + {\strc_counters_increment\v!formula + \doiftext\currentplaceformulasuffix{\strc_counters_setown_sub\v!formula\plustwo\currentplaceformulasuffix}% \placecurrentformulanumber} \def\dohandlesubformulanumbering {\doiftextelse\currentsubformulasuffix - {\setsubstructurecounterown[\v!formula][2]{\currentsubformulasuffix}} - {\doincrementsubstructurecounter[\v!formula][2]}% + {\strc_counters_setown_sub\v!formula\plustwo\currentsubformulasuffix} + {\strc_counters_increment_sub\v!formula\plustwo}% \placecurrentformulanumber} \def\dododoformulanumber @@ -376,13 +376,10 @@ \fi} \installstructurelistprocessor\v!formula % to be checked ... - {\dodolistelement - \currentlist - \structurelistlocation - \structurelistgenericnumber - \structurelistgenerictitle % hm, can end up in message (volkers test) - \structurelistpagenumber - \structurelistrealpagenumber} + {\let\currentlistentrynumber \structurelistgenericnumber + \let\currentlistentrytitle \structurelistgenerictitle + \let\currentlistentrypagenumber\structurelistpagenumber + \strc_lists_apply_renderingsetup} \newif\ifinformula |