![](https://secure.gravatar.com/avatar/114f07f31e228d83eece631b0937df73.jpg?s=120&d=mm&r=g)
15 Jun
2016
15 Jun
'16
5:33 p.m.
how can I read the numeric value of a counter in Lua?
\starttext
x \footnote{x} x \footnote{x} x \footnote{x} x
\cldcontext{structures.counters.currentvalue("footnote",1)}
\stoptext
Thank you, Hans. I searched for "currentvalue" in the source and now I'm looking at "strc-num.lua". Is the second argument of currentvalue the level of a multi-level counter? I suppose it is always 1 in footnotes, isn't it? Best regards, Massi