From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43617 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: "Float within a frame" challenge Date: Tue, 2 Sep 2008 08:26:46 +0200 Message-ID: <115224fb0809012326n6b7cf297o3356c59986b64621@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220336930 24911 80.91.229.12 (2 Sep 2008 06:28:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 06:28:50 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 02 08:29:43 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KaPOQ-0001ql-SZ for gctc-ntg-context-518@m.gmane.org; Tue, 02 Sep 2008 08:29:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E71D1FB14; Tue, 2 Sep 2008 08:28:32 +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 16217-01-4; Tue, 2 Sep 2008 08:27:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 187981FB64; Tue, 2 Sep 2008 08:27:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B3ED81FB64 for ; Tue, 2 Sep 2008 08:27: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 16217-01-3 for ; Tue, 2 Sep 2008 08:26:47 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.152]) by ronja.ntg.nl (Postfix) with ESMTP id 5508F1FB14 for ; Tue, 2 Sep 2008 08:26:47 +0200 (CEST) Original-Received: by yx-out-1718.google.com with SMTP id 3so996551yxi.74 for ; Mon, 01 Sep 2008 23:26:46 -0700 (PDT) Original-Received: by 10.150.133.17 with SMTP id g17mr9912726ybd.21.1220336806457; Mon, 01 Sep 2008 23:26:46 -0700 (PDT) Original-Received: by 10.151.103.21 with HTTP; Mon, 1 Sep 2008 23:26:46 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:43617 Archived-At: On Mon, Sep 1, 2008 at 10:18 PM, B. Tommy Jensen wrote: > Hi, > I am trying to accomplish the following layout with ConTeXt: > > - An icon and a descriptive text should be contained together in a > separate frame > - The frame should be centered and have a special background color > - Within the frame, the icon should be placed to the upper left. > - A descriptive text should "flow" around the icon within the frame, > first part to the right and then below the icon. > > I have tried the following construct: > > %---------------------- > > \startframedtext > \placefigure[left]{none}{\externalfigure[danger]} > > The textual description of the icon comes here. It should ideally flow to > the right of > the figure within the frame, but the figure actually becomes behind the > text. > \stopframedtext > > %---------------------- > > The problem here is that the icon and text is placed on top of each other. > > When removing the frame (\startframedtext command), the placement of the > figure and the text works OK, but I don't get a frame then of course. > > I have studied the "It's in the details" document which explains a great > deal about float's, but I haven't found anything covering the frame issue. > > Is the "startframedtext" the wrong command to use? All hints or suggestions > (like references to other tutorials) are very welcome. http://archive.contextgarden.net/message/20080624.074046.56e76622.en.html Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________