From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76968 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Re: \box0 to Lua Date: Mon, 18 Jun 2012 16:56:56 +0200 Message-ID: <4FDF41B8.1040508@gyza.cz> References: Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340031543 20676 80.91.229.3 (18 Jun 2012 14:59:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 14:59:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 18 16:59:02 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SgdPy-0001eG-NC for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jun 2012 16:59:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 621BF101EB; Mon, 18 Jun 2012 16:59:00 +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 GQn8d7RxkdtB; Mon, 18 Jun 2012 16:58:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB722101E8; Mon, 18 Jun 2012 16:58:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0217101E8 for ; Mon, 18 Jun 2012 16:58: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 BQv-tTpy4UpP for ; Mon, 18 Jun 2012 16:58:56 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 94932101E0 for ; Mon, 18 Jun 2012 16:58:56 +0200 (CEST) Original-Received: from psi2.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5IEwtWJ028422 for ; Mon, 18 Jun 2012 16:58:55 +0200 Original-Received: (qmail 30309 invoked by uid 89); 18 Jun 2012 14:58:52 -0000 Original-Received: from unknown (HELO ?192.168.20.101?) (hajtmar@88.103.230.14) by psi02 with ESMTPA; 18 Jun 2012 14:58:52 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.1.16) Gecko/20101125 Thunderbird/3.0.11 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=81.2.195.204; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THnOWTvu - 5bf7a82b2d50 - 20120618 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76968 Archived-At: Ahoj... To bych ti rekl ... :-) tex.box[0].height J. Dne 18.6.2012 16:53, Proch=E1zka Luk=E1=B9 Ing. - Pontex s. r. o. napsal(a): > Hello, > > (my apologies if this message is duplicated - our mail server was = > out-of-order some time) > > how to call "\box0" and "\hbox to3cm{abc}" by Lua? > > ---- > \startluacode > context[[\box0]] % OK but a "nicer" way preferred, so keep on trying - > context.box(0) % Error > context.box{0} % Error > context.box"0" % Error > > context.hbox({to =3D "cm"}, "abc") % Error > \stopluacode > ---- > > TIA. > > Best regards, > > Lukas > > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________