From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30577 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: layout question Date: Wed, 30 Aug 2006 00:18:57 +0200 Message-ID: References: <44E5DBA0.5010300@mevis.de> <44E5ED75.3050006@wxs.nl> <44E98708.9050504@mevis.de> <36B0EF38-FA8E-4DFE-826B-34CF4BE95163@cox.net> <44EACD41.4020102@mevis.de> <44EB1B0F.7010809@wxs.nl> <44F2B052.50304@mevis.de> <44F3F6B9.2090806@mevis.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156889609 13441 80.91.229.2 (29 Aug 2006 22:13:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2006 22:13:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 30 00:13:26 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 1GIBpV-0005WX-9U for gctc-ntg-context-518@m.gmane.org; Wed, 30 Aug 2006 00:13:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 882C31FE11; Wed, 30 Aug 2006 00:13:07 +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 08171-02; Wed, 30 Aug 2006 00:13:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50DA61FE20; Wed, 30 Aug 2006 00:13:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B0C561FE20 for ; Wed, 30 Aug 2006 00:12:56 +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 06393-05 for ; Wed, 30 Aug 2006 00:12:51 +0200 (CEST) Original-Received: from swip.net (mailfe08.tele2.fr [212.247.154.236]) by ronja.ntg.nl (Postfix) with SMTP id 569361FE11 for ; Wed, 30 Aug 2006 00:12:49 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [213.103.248.41] (HELO localhost) by mailfe08.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 265286402 for ntg-context@ntg.nl; Wed, 30 Aug 2006 00:12:47 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: <44F3F6B9.2090806@mevis.de> User-Agent: Opera M2/7.54 (FreeBSD, build 955) 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:30577 Archived-At: On Tue, 29 Aug 2006 10:11:37 +0200, richard rascher-friesenhausen wrote: > nico schrieb: >> Defining a new float gives another floating object with its own counter, >> list, etc. >> >> Maybe you can stay with only one kind of float. The following looks like >> the expected rendering, but I don't understand the default placement of >> the second large figure. >> >> % float defs >> %----------------------------------------------------------------------- >> \setupfloat[figure][minwidth=\rightmarginwidth, >> criterium=\rightmarginwidth, >> location=middle, >> default={outermargin,here}] >> > Thanks for that solution. It solves the problem with the list of > figures. But for the text+margin figures i have to look, if they are > placed on an odd or even page, to set the placing correctly. They should > always be shifted to the outer margin. But your solution avoids the > extra definition of margin images. Yes, I don't understand why it behaves like this. I thought that it would be put in the middle. > Do you know the meanings of the criterium. minwidth and maxwidth options > of \setupfloat and how they interact with each other and with default? It's explained in details.pdf. In brief, for margin floats: criterium=: says that when the figure width is greater than , the figure is put in the text area. When the figure width is less than , it is put in the default specified margin (here: outermargin). default=: default setting for that kind of float, including the chosen placement area (outermargin), until the criterium is reached. maxwidth=: gives the alignment delimiter in the margin, so that the figure will not go outside the specified width in the margin, but it will grow in the text area instead. minwidth=: ensures that the figure can take at least this width, so that if the figure width is smaller (and location=middle) it will be centered in this area. I hope there's no missunderstanding in these explainations (others can tell). Anyway, it cannot be better than the details doc that shows how it looks. Regards, BG