ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tad Ashlock <tad.ashlock@gmail.com>
To: ntg-context@ntg.nl
Subject: Problem With an Enumeration After a Forced Float
Date: Fri, 29 Jan 2010 16:22:40 -0700	[thread overview]
Message-ID: <2b4e76bb1001291522l38d14f3dt8e40e4b2f0f07363@mail.gmail.com> (raw)

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

                 reply	other threads:[~2010-01-29 23:22 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=2b4e76bb1001291522l38d14f3dt8e40e4b2f0f07363@mail.gmail.com \
    --to=tad.ashlock@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).