ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Disabling Floats on certain pages
@ 2001-06-14 16:11 Taco Hoekwater
  2001-06-14 16:12 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Taco Hoekwater @ 2001-06-14 16:11 UTC (permalink / raw)


Hi all,

Sometimes I want to prevent floats from appearing on a certain page 
(like e.g. the title page). I now have a macro that seems to work, but 
it is extremely ugly. Does anyone know of a cleaner way to do this 
(besides testing if \beforefinaloutput really is empty)?

\def\nofloatsonthispage{%
   \gdef\beforefinaloutput{% for this page
     \global\nofloatpermittedtrue
     \gdef\beforefinaloutput{% for the next page
       \global\nofloatpermittedfalse
       \gdef\beforefinaloutput{}% for all following pages
    }%
}%

Greetings, Taco


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-14 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-14 16:11 Disabling Floats on certain pages Taco Hoekwater
2001-06-14 16:12 ` Hans Hagen

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).