From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16166 Path: main.gmane.org!not-for-mail From: Stefan Wachter Newsgroups: gmane.comp.tex.context Subject: Re: Is there a bug during pagination of external figures? Date: Thu, 19 Aug 2004 17:50:40 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4124CC50.4090400@gmx.de> 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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1092928353 18512 80.91.224.253 (19 Aug 2004 15:12:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2004 15:12:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 19 17:12:25 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 1BxoN7-0001wP-00 for ; Thu, 19 Aug 2004 16:58:33 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 302BC12788; Thu, 19 Aug 2004 16:58:33 +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 06714-09; Thu, 19 Aug 2004 16:58:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E2C5E1278A; Thu, 19 Aug 2004 16:55:10 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D4331278A for ; Thu, 19 Aug 2004 16:55:09 +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 06726-01-2 for ; Thu, 19 Aug 2004 16:55:08 +0200 (CEST) Original-Received: from mail.gmx.net (unknown [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id D6DB312788 for ; Thu, 19 Aug 2004 16:55:08 +0200 (CEST) Original-Received: (qmail 17327 invoked by uid 65534); 19 Aug 2004 14:55:08 -0000 Original-Received: from pD95E822C.dip.t-dialin.net (EHLO gmx.de) (217.94.130.44) by mail.gmx.net (mp012) with SMTP; 19 Aug 2004 16:55:08 +0200 X-Authenticated: #10144042 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <41246DB8.4000600@wxs.nl> 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:16166 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16166 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)