I use \doflushfloats

Glen


On 19/07/2011, at 11:50 AM, Aditya Mahajan wrote:

> 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
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to