ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Process remaining floats
Date: Mon, 18 Jul 2011 21:50:24 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1107182145590.4395@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4E24C470.8090309@wxs.nl>

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
___________________________________________________________________________________


  reply	other threads:[~2011-07-19  1:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 22:23 Aditya Mahajan
2011-07-18 23:40 ` Hans Hagen
2011-07-19  1:50   ` Aditya Mahajan [this message]
2011-07-19  2:00     ` Glen Callaghan
2011-07-19  2:20       ` Aditya Mahajan
2011-08-08 17:47       ` Aditya Mahajan
2011-08-22  5:10         ` Glen Callaghan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.02.1107182145590.4395@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).