From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64772 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: problems with \hbox inside lua Date: Thu, 23 Dec 2010 14:09:20 +0100 Message-ID: <20101223130920.GA21532@micropit.couberia.bzh> References: 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: dough.gmane.org 1293109778 4838 80.91.229.12 (23 Dec 2010 13:09:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 13:09:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 23 14:09:34 2010 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 1PVkvD-0002lT-NZ for gctc-ntg-context-518@m.gmane.org; Thu, 23 Dec 2010 14:09:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF111CA941; Thu, 23 Dec 2010 14:09:30 +0100 (CET) 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 5hYhYtzYGC-X; Thu, 23 Dec 2010 14:09:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3DD3CA936; Thu, 23 Dec 2010 14:09:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F8EDCA93B for ; Thu, 23 Dec 2010 14:09:26 +0100 (CET) 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 AdAtKNLbhSmc for ; Thu, 23 Dec 2010 14:09:24 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 23EFFCA936 for ; Thu, 23 Dec 2010 14:09:24 +0100 (CET) Original-Received: from smtp.smtpout.orange.fr (smtp09.smtpout.orange.fr [80.12.242.131]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBND9LnF022628 for ; Thu, 23 Dec 2010 14:09:22 +0100 Original-Received: from micropit.couberia.bzh ([90.25.126.116]) by mwinf5d17 with ME id md9L1f0052WoEki03d9LZZ; Thu, 23 Dec 2010 14:09:21 +0100 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 11E121606DB; Thu, 23 Dec 2010 14:09:20 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0067 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.131; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DDKB9lwd - 4f997a67b930 - 20101223 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 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:64772 Archived-At: On Thu, Dec 23 2010, Mojca Miklavec wrote: > tex.print('\\hbox to 1.5em{\\hss %s \\hss}', tex.print() does not handle the %s. context() does. So just replace tex.print() by context(). Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________