From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55840 Path: news.gmane.org!not-for-mail From: Tad Ashlock Newsgroups: gmane.comp.tex.context Subject: Problem With an Enumeration After a Forced Float Date: Fri, 29 Jan 2010 16:22:40 -0700 Message-ID: <2b4e76bb1001291522l38d14f3dt8e40e4b2f0f07363@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=000e0cd6314c71e544047e55e92e X-Trace: ger.gmane.org 1264807382 5713 80.91.229.12 (29 Jan 2010 23:23:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2010 23:23:02 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 30 00:23:00 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nb0B1-0002ji-KC for gctc-ntg-context-518@m.gmane.org; Sat, 30 Jan 2010 00:22:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63CABC9BFF; Sat, 30 Jan 2010 00:23:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lZYS8cdKtNsi; Sat, 30 Jan 2010 00:23:24 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F63DC9B10; Sat, 30 Jan 2010 00:23:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC7E6C9B10 for ; Sat, 30 Jan 2010 00:23:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S9p35CbT3S1z for ; Sat, 30 Jan 2010 00:23:18 +0100 (CET) Original-Received: from mail-yx0-f197.google.com (mail-yx0-f197.google.com [209.85.210.197]) by balder.ntg.nl (Postfix) with ESMTP id 85688C9AC1 for ; Sat, 30 Jan 2010 00:23:17 +0100 (CET) Original-Received: by yxe35 with SMTP id 35so2638437yxe.2 for ; Fri, 29 Jan 2010 15:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oVeANVOyEvTsy3GCFQLFHFeW4+pZ7+8BZHSqZ8sQcpE=; b=jAFR8fdIwL1DTr6/Da2nbB3kWt+ezCzaMLAsmbXc7Gw1A0IPFkjnaciwB7No3HiDfm E+EpPf9n6e3M9oUpdvtdHUFJvjvXw2tWqNN05JpKKEAZBTA6FLtvj/fGz3U1FVMoZ2yv vS2L+raLPMiwuo3tx5B4zbZ7AR1bRNW0q6wtY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MrNlTy61ijUraNSoSvHnOIswi8TGuTb/4nAY8nw8CzuKJhHrfzAEdS1YvWxiZfPzZ3 zH71P5JdAYcqaxu6pPhz0LOug44rx61J7fTqOYsACnTQ+dWu2NY/acO7N9bcdRX9RRT5 ZuXKUtTkvwOF28DFCxe54ZV0hplCbdGQ04d+Y= Original-Received: by 10.150.252.5 with SMTP id z5mr2703860ybh.25.1264807360717; Fri, 29 Jan 2010 15:22:40 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55840 Archived-At: --000e0cd6314c71e544047e55e92e Content-Type: text/plain; charset=ISO-8859-1 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 --000e0cd6314c71e544047e55e92e Content-Type: application/x-tex; name="tadtest1.tex" Content-Disposition: attachment; filename="tadtest1.tex" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g51llz7n0 XGRlZmluZWVudW1lcmF0aW9uW2VudW1dW2JlZm9yZT17XHN0YXJ0YmFja2dyb3VuZH0sYWZ0ZXI9 e1xzdG9wYmFja2dyb3VuZH1dDQoNClxzdGFydHRleHQNCg0KXGRvcmVjdXJzZXszfXtcaW5wdXQg a251dGhccGFyfQ0KDQpccGxhY2VmaWd1cmVbZm9yY2Vde01vb29vb299e1xleHRlcm5hbGZpZ3Vy ZVtjb3cucGRmXVt3aWR0aD0uN1x0ZXh0d2lkdGhdfQ0KDQpcc3RhcnRlbnVtDQpUaGUgY29udGVu dHMgb2YgYSB0ZXN0IGVudW1lcmF0aW9uLg0KXHN0b3BlbnVtDQoNClxzdG9wdGV4dA0K --000e0cd6314c71e544047e55e92e Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --000e0cd6314c71e544047e55e92e--