From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: LaTeX float pages in ConTeXt
Date: Wed, 12 Dec 2007 14:07:17 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.0.9999.0712121358550.6023@nqv-yncgbc> (raw)
In-Reply-To: <6703815B292B664DBAEC55EE3192386A20BD39@poseidon.in.dynetics.com>
On Wed, 12 Dec 2007, Santy, Michael wrote:
> I've been playing around with the float placement options in ConTeXt,
> but I could find no way to enable "float pages". If you're not familiar
> with float pages, here's a quick blurb:
>
> "If there are too many floats to fit on a page, LaTeX pushes them on to
> the next page, and the next; eventually, floats may end up at the end of
> the document. If the [p] option has been provided to individual figures
> and tables, they may be pushed together onto a ?float page? that has no
> text." - http://mintaka.sdsu.edu/GF/bibliog/latex/floats.html
>
> I'm not interested in using \setupfloat[figure][default=page]. It
> forces all figures to a float page with one picture per page. In latex,
> the behavior that I desire can be specified with:
>
> \begin{figure}[htbp]
> \includegraphics[width=5.0in, height=3.0in]{myfile.jpg}
> \caption{Blah}
> \end{figure}
IIUC, ConTeXt float mechanism if significantly different from LaTeX's. In
particular it has no qualms about placing floats on a page of their own.
For example
\def\test{
\input knuth \endgraf
\dorecurse{20}{
\placefigure{Random figure}{}}
\input knuth \endgraf}
\starttext
\title{Here} \setupfloat[figure][default=here] \test
% Multiple figures get placed on a page of their own
\title{Top} \setupfloat[figure][default=top] \test
% A long standing misfeature that top forces floats to
% float on top of a title.
\title{Bottom} \setupfloat[figure][default=bottom] \test
% Again we can have multiple floats placed on a page of their own.
\title{Page} \setupfloat[figure][default=page] \test
% Only a single float per page
\title{All} \setupfloat[figure][default=here,top,bottom,page] \test
% If this makes you feel any better.
\stoptext
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2007-12-12 19:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 18:26 Santy, Michael
2007-12-12 19:07 ` Aditya Mahajan [this message]
2007-12-12 20:00 ` Santy, Michael
2007-12-12 20:22 ` Peter Rolf
2007-12-13 8:37 ` Wolfgang Schuster
2007-12-13 9:55 ` Willi Egger
2007-12-13 10:06 ` Hans Hagen
2007-12-13 11:01 ` Wolfgang Schuster
2007-12-13 15:22 ` Santy, Michael
2007-12-13 16:55 ` Hans Hagen
2007-12-13 17:25 ` Aditya Mahajan
2007-12-13 18:19 ` Santy, Michael
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.DEB.0.9999.0712121358550.6023@nqv-yncgbc \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.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).