summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-lst.mkvi
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-08-29 20:57:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-08-29 20:57:00 +0200
commit54b35840ce8f91454174a2d63042d776222a378b (patch)
tree056763d0a6f291516ac8f7b572a3e234a9b2fde0 /tex/context/base/strc-lst.mkvi
parent2c6477867c9a9e84a1e48134f062ef7706de1499 (diff)
downloadcontext-54b35840ce8f91454174a2d63042d776222a378b.tar.gz
beta 2014.08.29 20:57
Diffstat (limited to 'tex/context/base/strc-lst.mkvi')
-rw-r--r--tex/context/base/strc-lst.mkvi3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/strc-lst.mkvi b/tex/context/base/strc-lst.mkvi
index 0008f0602..b10ab696d 100644
--- a/tex/context/base/strc-lst.mkvi
+++ b/tex/context/base/strc-lst.mkvi
@@ -451,6 +451,8 @@
\def\usestructurelistprocessor#tag%
{\csname\??structurelistprocessor#tag\endcsname}
+\let\dotaglistlocation\relax
+
\unexpanded\def\strclistsentryprocess#tag#method#index#extra% This one is called at the lua end!
{\ctxcommand{pushlist(#index)}%
\edef\currentlist {#tag}%
@@ -459,6 +461,7 @@
\edef\currentlistextra {#extra}%
\listextraparameter\c!before
\dostarttagged\t!listitem\currentlist
+ \dotaglistlocation
\csname\??structurelistprocessor
\ifcsname\??structurelistprocessor\currentlist:\currentlistmethod\endcsname\currentlist:\currentlistmethod\else
\ifcsname\??structurelistprocessor\currentlistmethod \endcsname\currentlistmethod \else