ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem With an Enumeration After a Forced Float
@ 2010-01-29 23:22 Tad Ashlock
  0 siblings, 0 replies; only message in thread
From: Tad Ashlock @ 2010-01-29 23:22 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Hi All,

Here's a corner case for you:  place a figure with the 'force' option,
followed by an enumeration with a background.  Like this (also
attached as tadtest1.tex):

============================================================
\defineenumeration[enum][before={\startbackground},after={\stopbackground}]

\starttext

\dorecurse{3}{\input knuth\par}

\placefigure[force]{Moooooo}{\externalfigure[cow.pdf][width=.7\textwidth]}

\startenum
The contents of a test enumeration.
\stopenum

\stoptext
============================================================

The enumeration will start at the top of the next page (after the
figure) even though there's plenty of room below the figure on the
same page.

If you take the background away from the enumeration (delete the
'before' and 'after' options), OR take the 'force' option off the
\placefigure command, then the problem goes away.

I suspect that this isn't the expected behavior. :-)

Thanks,
Tad

[-- Attachment #2: tadtest1.tex --]
[-- Type: application/x-tex, Size: 279 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-29 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-29 23:22 Problem With an Enumeration After a Forced Float Tad Ashlock

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