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.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/strc-not.lua b/tex/context/base/strc-not.lua
index 466bc7a03..f0bf6cab3 100644
--- a/tex/context/base/strc-not.lua
+++ b/tex/context/base/strc-not.lua
@@ -304,7 +304,11 @@ function notes.flush(tag,whatkind) -- store and postpone
if trace_notes then
report_notes("flushing state %s of %s from %s to %s",whatkind,tag,ns,#nd)
end
+ -- todo: as registers: start, stop, inbetween
for i=ns,#nd do
+ if i > ns then
+ texsprint(ctxcatcodes,format("\\betweennoteitself{%s}",tag))
+ end
texsprint(ctxcatcodes,format("\\handlenoteitself{%s}{%s}",tag,i))
end
end