From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64877 Path: news.gmane.org!not-for-mail From: Fulvio Satta Newsgroups: gmane.comp.tex.context Subject: Re: Escaping in LuaTeX Date: Sun, 2 Jan 2011 13:27:31 +0100 Message-ID: <201101021327.40701.Yota_VGA@tiscali.it> References: <201101020205.04285.Yota_VGA@tiscali.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1115719750==" X-Trace: dough.gmane.org 1293971277 25313 80.91.229.12 (2 Jan 2011 12:27:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 12:27:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 02 13:27:53 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 1PZN2P-0003i7-Eg for gctc-ntg-context-518@m.gmane.org; Sun, 02 Jan 2011 13:27:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5E9FCA982; Sun, 2 Jan 2011 13:27:52 +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 sEOQ2oMs7tNf; Sun, 2 Jan 2011 13:27:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 460C1CA986; Sun, 2 Jan 2011 13:27:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77806CA986 for ; Sun, 2 Jan 2011 13:27:48 +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 9e7UnPZ2tSAf for ; Sun, 2 Jan 2011 13:27:46 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 54BC3CA982 for ; Sun, 2 Jan 2011 13:27:46 +0100 (CET) Original-Received: from smtpi4.ngi.it (smtpi4.ngi.it [88.149.128.104]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p02CRjWd006168 for ; Sun, 2 Jan 2011 13:27:45 +0100 Original-Received: from praisenet.darktech.org (88-149-250-242.dynamic.ngi.it [88.149.250.242]) by smtpi4.ngi.it (Postfix) with ESMTP id 1FBC64251B for ; Sun, 2 Jan 2011 13:27:45 +0100 (CET) Original-Received: from qayra.localnet (host221-175-dynamic.32-79-r.retail.telecomitalia.it [79.32.175.221]) by praisenet.darktech.org (Postfix) with ESMTPSA id B92B11035EE1C for ; Sun, 2 Jan 2011 13:27:44 +0100 (CET) User-Agent: KMail/1.13.5 (Linux/2.6.36-ARCH; KDE/4.5.4; x86_64; ; ) In-Reply-To: <201101020205.04285.Yota_VGA@tiscali.it> X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=88.149.128.104; country=IT; latitude=42.8333; longitude=12.8333; http://maps.google.com/maps?q=42.8333,12.8333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DOArJAS - ac93df50230d - 20110102 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:64877 Archived-At: --===============1115719750== Content-Type: multipart/signed; boundary="nextPart2183244.aLuc0bNdEL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2183244.aLuc0bNdEL Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Il domenica 02 gennaio 2011 02:04:46 Fulvio Satta ha scritto: > I have a problem with Lua and the "#" operator. > If I execute the following code I receive an error. >=20 > \def\luacode% > {\startluacode > local t =3D {1, 2, 3} > tex.print(#t) > \stopluacode} >=20 > \starttext > \luacode > \stoptext >=20 > ConTeXt give me the message: >=20 > ! Illegal parameter number in definition of \luacode. > > t > l.4 tex.print(#t > ) >=20 > And if I execute the "H" command I get: >=20 > You meant to type ## instead of #, right? > Or maybe a } was forgotten somewhere earlier, and things > are all screwed up? I''m going to assume that you meant ##. >=20 > I've tryed with ##t, whit \#t, with \string#t, with \ctxlua instread of > \startluacode and \stopluacode, and I've obtained some other errors, but > ConTeXt always give me an error. >=20 > Maybe should I escape in another manner the "#" operator? In the previous mail I foget to say my ConTeXt version. I use ConTeXt minim= als=20 2010.12.31 08:59. --nextPart2183244.aLuc0bNdEL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk0gbzQACgkQ7uVO4mPF0DczVgCfUCbWnsndWVRJ4jIbcsGmAw++ OvwAmQEGL0jiPL7wlmWcOmbK81wpeGZm =fSEA -----END PGP SIGNATURE----- --nextPart2183244.aLuc0bNdEL-- --===============1115719750== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1115719750==--