diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-07-23 20:11:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-07-23 20:11:00 +0200 |
commit | 3edfc2fc3e569201a16c63871aae121e57673539 (patch) | |
tree | 77c2fab43ff04bc1dd3d89a577e855a66c38d7e8 /tex/context/base/strc-not.mkiv | |
parent | b32da8747292384893ea07a0a5659b24eb216c10 (diff) | |
download | context-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.mkiv | 23 |
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 |