From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69107 Path: news.gmane.org!not-for-mail From: Christoph Redecker Newsgroups: gmane.comp.tex.context Subject: measuring alphabet length Date: Mon, 13 Jun 2011 14:15:55 +0200 Message-ID: <4DF5FF7B.1000400@tu-harburg.de> References: <2BAEF00E-F2AE-4E30-9F86-548BB2A7B918@fiee.net> <4DD261BD.60309@wxs.nl> <23BF6F68-2A11-45A8-936A-1CBA0536CDE0@fiee.net> 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 1307967364 16529 80.91.229.12 (13 Jun 2011 12:16:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 12:16:04 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 13 14:16:00 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 1QW63i-0001tn-GO for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jun 2011 14:15:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B7E4CADA6; Mon, 13 Jun 2011 14:15:57 +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 b5aBonDI2Zdw; Mon, 13 Jun 2011 14:15:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44049CAD8B; Mon, 13 Jun 2011 14:15:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7586CCAD8B for ; Mon, 13 Jun 2011 14:15:52 +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 ZdNq1sbxvYtv for ; Mon, 13 Jun 2011 14:15:50 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 4594CCAD68 for ; Mon, 13 Jun 2011 14:15:50 +0200 (CEST) Original-Received: from smtp3.rz.tu-harburg.de (smtp3.rz.tu-harburg.de [134.28.202.138]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5DCFm6Y004701 for ; Mon, 13 Jun 2011 14:15:49 +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 p5DCFmt5014524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jun 2011 14:15:48 +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 p5DCFlgh023383 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jun 2011 14:15:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tu-harburg.de; s=x2011-24; t=1307967348; bh=syfAY1hfPRYJk/sW6+xbSEgXdBw13MvLr4dIFRr1/YE=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=S/qPIPCUvIlvarZkKFtk2oex1MG5MVfyTIey/cvUgm1sWLgIoPdY3wKsQthn13I36 tE+ifvDN7RNESs2kEttRK+yrVYzCEVDpvi6dEcaFeA/xbKKrTmlM+3aFAweQ+NiigD E8hLNyJhJUMZdfqo6AAKNRBmcODk2U6sW6bMNVBg= 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: <23BF6F68-2A11-45A8-936A-1CBA0536CDE0@fiee.net> X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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: 05ETofNBS - dcf24e8aac5a - 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:69107 Archived-At: Hi, I want to measure and typeset the lower case alphabet length. The LaTeX method doesn't work: \newlength{\alphabetlength} \settowidth{\alphabetlength}{abcdefghijklmnopqrstuvwxyz} \the\alphabetlength ConTeXt gives me an error saying that \newlength{...} is undefined. Is it undefined because ConTeXt is built around TeX and not LaTeX and \newlength is a LaTeX command (I do not know if it actually is)? How can I do the same thing in ConTeXt? Regards Christoph ___________________________________________________________________________________ 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 ___________________________________________________________________________________