From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48665 Path: news.gmane.org!not-for-mail From: Arthur Reutenauer Newsgroups: gmane.comp.tex.context Subject: Re: Dividing dimensions Date: Mon, 23 Mar 2009 13:22:28 +0100 Message-ID: <20090323122227.GA26539@phare.normalesup.org> References: <20090321222612.GA19380@phare.normalesup.org> <661C3BE5-9CAE-4C51-96EC-5C7EE1B3B2BD@gmail.com> <200903230815.15528.alan.braslau@cea.fr> <76FB4EC5-838D-4B83-AAE8-9BA544F45CE7@gmail.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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237811025 29006 80.91.229.12 (23 Mar 2009 12:23:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2009 12:23:45 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 23 13:25:03 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LljD8-0005LP-Sx for gctc-ntg-context-518@m.gmane.org; Mon, 23 Mar 2009 13:24:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73A191FE0E; Mon, 23 Mar 2009 13:23:33 +0100 (CET) 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 26220-08; Mon, 23 Mar 2009 13:22:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 98EC41FE01; Mon, 23 Mar 2009 13:22:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8D121FE01 for ; Mon, 23 Mar 2009 13:22:42 +0100 (CET) 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 10340-04 for ; Mon, 23 Mar 2009 13:22:29 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 53A931FE00 for ; Mon, 23 Mar 2009 13:22:29 +0100 (CET) Original-Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2NCMSUm003918 for ; Mon, 23 Mar 2009 13:22:28 +0100 Original-Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id n2NCMSdp021857 for ; Mon, 23 Mar 2009 13:22:28 +0100 (CET) X-Envelope-To: Original-Received: by phare.normalesup.org (Postfix, from userid 1008) id 0BB6DBC0A9; Mon, 23 Mar 2009 13:22:28 +0100 (CET) Content-Disposition: inline In-Reply-To: <76FB4EC5-838D-4B83-AAE8-9BA544F45CE7@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Mon, 23 Mar 2009 13:22:28 +0100 (CET) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.199.96.40; country=FR; region=A8; city=Paris; latitude=48.8667; longitude=2.3333; http://maps.google.com/maps?q=48.8667,2.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 197549143 - 63d97bea1a49 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48665 Archived-At: Hello Wolfgang, Thanks for the detailed explanation. > The \type{tex.dimen} function allows us to access the dimen register from > \TEX\ in Lua. A small correction: it's not a function, it really behaves like a table in Lua. You can use both the register number, or the symbolic name (as defined by \dimendef, if applicable), as a key to the table. Arthur ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________