ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Florian Grammel <florian.grammel@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: float pages again
Date: Wed, 5 Apr 2017 12:16:12 +0200	[thread overview]
Message-ID: <8A62576B-CBC6-4ACA-9610-AE9E300F48C5@gmail.com> (raw)

Back in 2007 there was a discussion here on the list about whether context could do something like LaTeX’s float pages. 
http://www.mail-archive.com/search?l=ntg-context%40ntg.nl&q=subject%3A%22%5C%5BNTG%5C-context%5C%5D+LaTeX+float+pages+in+ConTeXt%22&x=0&y=0

In short these are designated pages that LeTeX puts in to collect abundant top- and here-floats. There can -- in contrast to contex’s default=page -- be more than one float on such a page and there is no running text.

In a LaTeX-setup correcponding to:

%\setupfloats[nlines=15]
\setupfloat[figure][default={here,top,bottom,page}]

\starttext

\section{First Section}

\input zapf

\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.0in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.5in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.5in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.3in]}
\placefigure {Blah} {\externalfigure[figurename][width=5.0in, height=3.3in]}

\section{Second Section}
\input zapf
\input zapf
\input zapf

\stoptext


pages 2 and 3 wouldn’t have body text on them.

Is there a possibility to have context remove body text from pages with floats when the space falls short of a certain number of lines?

Hans mentioned nlines in the old thread, but commenting it in doesn’t seem to have any effect.


Best regards,
Florian.


____________________________________________

Florian Grammel

Copenhagen, Denmark

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2017-04-05 10:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=8A62576B-CBC6-4ACA-9610-AE9E300F48C5@gmail.com \
    --to=florian.grammel@gmail.com \
    --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).