summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-not.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-08-10 17:14:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-08-10 17:14:00 +0200
commite68c228a21a98042c87ef21d9a094b97f941e8de (patch)
tree5684fe397c00006fe5aa63450a8e9a640cd3c2b2 /tex/context/base/strc-not.lua
parentd879fd040aa85b55875d8aed16394351518dde21 (diff)
downloadcontext-e68c228a21a98042c87ef21d9a094b97f941e8de.tar.gz
beta 2010.08.10 17:14
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