From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16167 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: Is there a bug during pagination of external figures? Date: Thu, 19 Aug 2004 18:33:50 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4124D66E.9030003@wxs.nl> References: <41133589.2070807@gmx.de> <41133396.6090009@wxs.nl> <411383D1.90501@gmx.de> <4117D780.6000901@wxs.nl> <411C7C2A.3080605@gmx.de> <4120D865.5050104@gmx.de> <4121270E.3070209@wxs.nl> <412470BC.7070306@gmx.de> <41246DB8.4000600@wxs.nl> <4124CC50.4090400@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1092933356 32610 80.91.224.253 (19 Aug 2004 16:35:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2004 16:35:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 19 18:35:43 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bxpt8-0002Ps-00 for ; Thu, 19 Aug 2004 18:35:42 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 158C11278A; Thu, 19 Aug 2004 18:35:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07244-01; Thu, 19 Aug 2004 18:35:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4513412783; Thu, 19 Aug 2004 18:33:54 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BE0C12783 for ; Thu, 19 Aug 2004 18:33:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06987-04-3 for ; Thu, 19 Aug 2004 18:33:52 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id DA1211277A for ; Thu, 19 Aug 2004 18:33:52 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i7JGXnj8028968 for ; Thu, 19 Aug 2004 18:33:49 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id D957F2EB26; Thu, 19 Aug 2004 18:33:51 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 8865117BA1 for ; Thu, 19 Aug 2004 16:33:50 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4124CC50.4090400@gmx.de> X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay02.solcon.nl X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16167 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16167 Stefan Wachter wrote: > Hi Hans, > > thanks for the additional hints. The width calculation method is very > instructive. Yet, I think I can not use it, because I do not know in > advance what kind of text is used as item labels. Maybe a label text > contains already a comma. Is there another \processXXX-Makro for > example \processampersandlist that can be used (because ampersands can > not appear unescaped in normal text)? > > --Stefan > > PS: I found nowhere a description of \charwd > >> >> \def\determinecommalistwidth[#1]% >> {\scratchdimen\zeropoint >> \def\docommand##1% >> {\setbox\scratchbox\hbox{##1}% >> \ifdim\wd\scratchbox>\scratchdimen >> \scratchdimen\wd\scratchbox >> \fi}% >> \processcommalist[#1]\docommand} >> >> \determinecommalistwidth[a),b),c)] >> >> \the\scratchdimen >> >> (or use \charwd cum suis) > \processseparatedlist may be of help of course you can do: \determine...[{a},{b\&c},{d\_e},{f,g,h}] Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------