From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69113 Path: news.gmane.org!not-for-mail From: Christoph Redecker Newsgroups: gmane.comp.tex.context Subject: Re: measuring alphabet length Date: Mon, 13 Jun 2011 14:43:38 +0200 Message-ID: <4DF605FA.40208@tu-harburg.de> References: <2BAEF00E-F2AE-4E30-9F86-548BB2A7B918@fiee.net> <4DD261BD.60309@wxs.nl> <23BF6F68-2A11-45A8-936A-1CBA0536CDE0@fiee.net> <4DF5FF7B.1000400@tu-harburg.de> <9A201E81-5847-4768-A619-26D7AE0ACFFF@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307969028 26571 80.91.229.12 (13 Jun 2011 12:43:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 12:43:48 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 13 14:43:42 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QW6UY-0007Jp-CR for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jun 2011 14:43:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B5C0CAD9D; Mon, 13 Jun 2011 14:43:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ngX1m8EBWFhC; Mon, 13 Jun 2011 14:43:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C487CADA0; Mon, 13 Jun 2011 14:43:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4ADACADA0 for ; Mon, 13 Jun 2011 14:43:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NAD+X1fNgG9u for ; Mon, 13 Jun 2011 14:43:33 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 9100CCAD9D for ; Mon, 13 Jun 2011 14:43:33 +0200 (CEST) Original-Received: from smtp3.rz.tu-harburg.de (smtp3.rz.tu-harburg.de [134.28.202.138]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5DChWNY011754 for ; Mon, 13 Jun 2011 14:43:33 +0200 Original-Received: from mail.tu-harburg.de (mail.tu-harburg.de [134.28.202.179]) by smtp3.rz.tu-harburg.de (8.13.8/8.13.8) with ESMTP id p5DChWfi016796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jun 2011 14:43:32 +0200 Original-Received: from [192.168.2.146] (f054100185.adsl.alicedsl.de [78.54.100.185]) (user=ttcr mech=PLAIN bits=0) by mail.tu-harburg.de (8.13.8/8.13.8) with ESMTP id p5DChVod023304 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jun 2011 14:43:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tu-harburg.de; s=x2011-24; t=1307969012; bh=xotx3Jf075bHgbs2+RvzkcHrnoFUnjiiNrz17+5gnTg=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rDnmLJ+8T6mf/lWVbYdjB/ZC7U95/xBUMTxyoLBa5dQh/sWyJypsw8mTVIHit901e MA7dao8i1ZEB+T+c8SiUWZOgS3N2sr2k5UX4KBABJArqDDmJ8QNPT+UWrR/HysmB8N A2n7lbeuTKZGK8WNc1bFtPa16jseFvccYiYMPIpM= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: <9A201E81-5847-4768-A619-26D7AE0ACFFF@googlemail.com> X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-Scanned-By: TUHH Rechenzentrum content checker on 134.28.202.138 X-Scanned-By: TUHH Rechenzentrum content checker on 134.28.202.179 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.28.202.138; country=DE; region=04; city=Hamburg; latitude=53.5500; longitude=10.0000; http://maps.google.com/maps?q=53.5500,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xEToHw1K - 6ad466f50abd - 20110613 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69113 Archived-At: Thanks to both of you, all three suggestions work. However, I don't understand all of the code. What does \dowithnextbox do exactly? In your last example, does it define the command \measure just for the next box? And why does my email client display this thread as a reply to the "fit to width by negative letterspacing or narrowing" thread started by Henning? Christoph On 13.06.2011 14:38, Wolfgang Schuster wrote: > > Am 13.06.2011 um 14:34 schrieb Wolfgang Schuster: > >> \starttext >> >> \dowithnextbox >> {\edef\AlphabetLength{\the\nextboxwd}}% >> \hbox{abcdefghijklmnopqrstuvwxyz} >> >> \AlphabetLength >> >> \stoptext > > Or even better: > > \starttext > > \dowithnextbox > {\definemeasure[alphabetlength][\the\nextboxwd]}% > \hbox{abcdefghijklmnopqrstuvwxyz} > > \measure{alphabetlength} > > \stoptext > > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________