On Tue, 19 Jul 2011, Hans Hagen wrote:
On 19-7-2011 12:23, Aditya Mahajan wrote:
Hi,
Is there a command that will flush all unprocessed floats. For example, consider the following:
%--------
text 1
\placefigure[fig:1]{...}{...}
\FLUSHALLFLOATS
text 2
%-----------
I don't want text 2 to be placed unless fig:1 has been processed (even if it means an under filled page).
[always,here]
Does not work as expected: \starttext \placefigure[here,nonumber]{The first fig}{\externalfigure[cow]} \input tufte \input ward \placefigure[here,nonumber]{The second fig}{\externalfigure[cow]} \placefigure[here,always,nonumber]{Another fig}{\externalfigure[mill]} \input knuth \stoptext The mill is placed on the bottom of page 1, while the second cow is placed on the top of page 2; so the figure order is reversed. But more importantly, I don't want this "float barrier" to be a float itself. I want it to be the end of a section so that all floats in a section do not float to another section. Aditya