diff options
Diffstat (limited to 'tex/context/base/strc-sec.mkiv')
-rw-r--r-- | tex/context/base/strc-sec.mkiv | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/strc-sec.mkiv b/tex/context/base/strc-sec.mkiv index dd51451b9..c16f02c0c 100644 --- a/tex/context/base/strc-sec.mkiv +++ b/tex/context/base/strc-sec.mkiv @@ -204,7 +204,8 @@ userdata = \!!bs\detokenize{#3}\!!es % will be converted to table at the lua end } }}% - \xdef\currentstructurelistnumber{\ctxcommand{addtolist(structures.sections.current())}}% + % \xdef\currentstructurelistnumber{\ctxcommand{addtolist(structures.sections.current())}}% + \xdef\currentstructurelistnumber{\ctxcommand{currentsectiontolist()}}% % \currentstructuresynchronize has to be called someplace, since it introduces a node \setstructuresynchronization\currentstructurelistnumber \endgroup} |