* float pages again
@ 2017-04-05 10:16 Florian Grammel
0 siblings, 0 replies; only message in thread
From: Florian Grammel @ 2017-04-05 10:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-05 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 10:16 float pages again Florian Grammel
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).