summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-lst.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-04-11 18:00:19 +0300
committerMarius <mariausol@gmail.com>2011-04-11 18:00:19 +0300
commitdbbbbfac3d158709a07af8c26e68284d1b0ea202 (patch)
treeb9cb25022fc2858c0dcbc190ad466ba89c69861d /tex/context/base/strc-lst.mkiv
parent7c7fe9c9e18355f42d0dba1b248235252728060b (diff)
downloadcontext-dbbbbfac3d158709a07af8c26e68284d1b0ea202.tar.gz
beta 2011.04.11 16:45
Diffstat (limited to 'tex/context/base/strc-lst.mkiv')
-rw-r--r--tex/context/base/strc-lst.mkiv8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/strc-lst.mkiv b/tex/context/base/strc-lst.mkiv
index b14297e26..c764b889b 100644
--- a/tex/context/base/strc-lst.mkiv
+++ b/tex/context/base/strc-lst.mkiv
@@ -141,7 +141,7 @@
{\ctxlua{structures.lists.realpage("\currentlist",\currentlistindex)}}
\def\structurelistfirst
- {\dostarttagged\t!listdata{first} % ot always ok
+ {\dostarttagged\t!listdata{first}% not always ok
\ctxlua{structures.lists.userdata("\currentlist",\currentlistindex,"first")}%
\dostoptagged}
@@ -499,7 +499,7 @@
\unexpanded\def\listsymbol[#1]#2%
{\begingroup
\edef\currentlist{#1}%
- \edef\currentlistnumber{#2}%
+ \def\currentlistnumber{#2}% no edef else tag problems
\currentlistsymbol
\endgroup}
@@ -633,7 +633,7 @@
\def\dodolistelement#1#2#3#4#5#6%
{\edef\currentlist{#1}%
- \edef\currentlistnumber{#3}%
+ \def\currentlistnumber{#3}% no edef else tag problem
\docurrentlistalternative
\letinteractionparameter\c!width\zeropoint
\dontcomplain
@@ -999,7 +999,7 @@
\ctxlua{structures.lists.title("\currentlist",\currentlistindex)}%
\dostoptagged}
-\def\structurelistgenericnumber
+\def\structurelistgenericnumber % tricky, we need to delay tagging as we have nested lua calls
{\dostarttagged\t!listtag\empty
\ctxlua{structures.lists.prefixednumber("\currentlist",\currentlistindex, {
prefix = "\listparameter\c!prefix",