summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-not.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-not.lua')
-rw-r--r--tex/context/base/strc-not.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/strc-not.lua b/tex/context/base/strc-not.lua
index 266e22edc..f390c05b5 100644
--- a/tex/context/base/strc-not.lua
+++ b/tex/context/base/strc-not.lua
@@ -69,6 +69,12 @@ function notes.get(tag,n)
end
end
+-- we could make a special enhancer
+
+function notes.listindex(tag,n)
+ return notedata[tag][n]
+end
+
function notes.define(tag,kind,number)
local state = notes.setstate(tag,kind)
state.number = number