summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-not.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-07-23 20:11:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-07-23 20:11:00 +0200
commit3edfc2fc3e569201a16c63871aae121e57673539 (patch)
tree77c2fab43ff04bc1dd3d89a577e855a66c38d7e8 /tex/context/base/strc-not.mkiv
parentb32da8747292384893ea07a0a5659b24eb216c10 (diff)
downloadcontext-3edfc2fc3e569201a16c63871aae121e57673539.tar.gz
stable 2009.07.23 20:11
Diffstat (limited to 'tex/context/base/strc-not.mkiv')
-rw-r--r--tex/context/base/strc-not.mkiv23
1 files changed, 12 insertions, 11 deletions
diff --git a/tex/context/base/strc-not.mkiv b/tex/context/base/strc-not.mkiv
index d432deb30..4b033cbf9 100644
--- a/tex/context/base/strc-not.mkiv
+++ b/tex/context/base/strc-not.mkiv
@@ -796,23 +796,24 @@
\def\postponenotes
{\ifconditional\postponingnotes\else
\global\settrue\postponingnotes
+ \global\let\flushnotes\doflushnotes
\ctxlua{structure.notes.postpone()}%
\fi}
-\def\flushnotes
+\let\flushnotes\relax
+
+\def\doflushnotes
{\ifconditional\postponingnotes
- \flushnotesindeed
+ \begingroup
+ \let\flushnotes \relax
+ \let\postponenotes\relax
+ \ctxlua{structure.notes.flushpostponed()}% this also resets the states !
+ \global\setfalse\postponednote
+ \global\setfalse\postponingnotes
+ \global\let\flushnotes\relax
+ \endgroup
\fi}
-\def\flushnotesindeed
- {\begingroup
- \let\flushnotes \relax
- \let\postponenotes\relax
- \ctxlua{structure.notes.flushpostponed()}% this also resets the states !
- \global\setfalse\postponednote
- \global\setfalse\postponingnotes
- \endgroup}
-
%D \macros
%D {startlocalfootnotes,placelocalfootnotes}
%D