From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31192 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: itemize and placefigure Date: Wed, 4 Oct 2006 02:15:05 +0200 Message-ID: <6faad9f00610031715n78673595u1fe3be30e69c2829@mail.gmail.com> References: <45228F25.6020704@nectarine.info> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1159920936 25225 80.91.229.2 (4 Oct 2006 00:15:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2006 00:15:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 04 02:15:33 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GUuQ3-0002Bp-5g for gctc-ntg-context-518@m.gmane.org; Wed, 04 Oct 2006 02:15:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9F751FDC6; Wed, 4 Oct 2006 02:15:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03555-05; Wed, 4 Oct 2006 02:15:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 251BC1FDE1; Wed, 4 Oct 2006 02:15:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B24031FDE1 for ; Wed, 4 Oct 2006 02:15:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03558-06-2 for ; Wed, 4 Oct 2006 02:15:10 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by ronja.ntg.nl (Postfix) with SMTP id 817F61FDC6 for ; Wed, 4 Oct 2006 02:15:09 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id s12so2173832wxc for ; Tue, 03 Oct 2006 17:15:08 -0700 (PDT) Original-Received: by 10.90.100.2 with SMTP id x2mr4167816agb; Tue, 03 Oct 2006 17:15:05 -0700 (PDT) Original-Received: by 10.90.25.15 with HTTP; Tue, 3 Oct 2006 17:15:05 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: <45228F25.6020704@nectarine.info> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31192 Archived-At: On 10/3/06, plink wrote: > Hi, > > as soon as I put a placefigure in an \item paragraph, the whole > paragraph starts one line below the stopper. Is this a conceptual issue > or just a weirdness? > > What is the best way to start at the same height? I couldn=B4t find > anything in the wiki or the details ... > > As an example, see: > > \starttext > > \startitemize > \item \input tufte > \item \placefigure[right,none]{}{\framed[height=3D1cm]{foo bar}} > \input tufte > \item \input tufte > \stopitemize > > \stopttext \placefigure will always start a new paragraph, but usually you don't notice that since you want it in a separate paragraph anyway. It has to do with boxes, although I have no idea how exactly Hans implemented "itemize/itemgroup" environment. You can help yourself a bit by using \item \strut\vskip -\lineheight\placefigure... although there should be a better solution. (I would agree that the empty line makes no sense in that "special case" and should better disappear, but I have no right to judge about how serious "backward compatibility issue" that is and how difficult it would be to fix it without breaking the behaviour in other "special cases") Hopefully someone on the list will be able to help you better. Mojca