From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64871 Path: news.gmane.org!not-for-mail From: Fulvio Satta Newsgroups: gmane.comp.tex.context Subject: Escaping in LuaTeX Date: Sun, 2 Jan 2011 02:04:46 +0100 Message-ID: <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="===============1773599136==" X-Trace: dough.gmane.org 1293930438 18760 80.91.229.12 (2 Jan 2011 01:07:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 01:07:18 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 02 02:07:14 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 1PZCPh-0002Kd-8r for gctc-ntg-context-518@m.gmane.org; Sun, 02 Jan 2011 02:07:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6120BCA978; Sun, 2 Jan 2011 02:07:12 +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 VkG6jAz8D8tB; Sun, 2 Jan 2011 02:07:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98A05CA972; Sun, 2 Jan 2011 02:07:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 420CCCA972 for ; Sun, 2 Jan 2011 02:07:08 +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 FBGZnAfhad7D for ; Sun, 2 Jan 2011 02:06:57 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id E718ECA96C for ; Sun, 2 Jan 2011 02:06:56 +0100 (CET) Original-Received: from smtpi4.ngi.it (smtpi4.ngi.it [88.149.128.104]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0216uEa016937 for ; Sun, 2 Jan 2011 02:06:56 +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 1A2C442043 for ; Sun, 2 Jan 2011 02:06:55 +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 C6A7A1035EE1F for ; Sun, 2 Jan 2011 02:06:54 +0100 (CET) User-Agent: KMail/1.13.5 (Linux/2.6.36-ARCH; KDE/4.5.4; x86_64; ; ) 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: 06DOp6UxB - 02ac2f3b3ead - 20110102 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:64871 Archived-At: --===============1773599136== Content-Type: multipart/signed; boundary="nextPart2631053.8tma6jFApG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2631053.8tma6jFApG Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have a problem with Lua and the "#" operator. If I execute the following code I receive an error. \def\luacode% {\startluacode local t =3D {1, 2, 3} tex.print(#t) \stopluacode} \starttext \luacode \stoptext ConTeXt give me the message: ! Illegal parameter number in definition of \luacode. =20 t l.4 tex.print(#t ) And if I execute the "H" command I get: 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 ##. I've tryed with ##t, whit \#t, with \string#t, with \ctxlua instread of=20 \startluacode and \stopluacode, and I've obtained some other errors, but=20 ConTeXt always give me an error. Maybe should I escape in another manner the "#" operator? --nextPart2631053.8tma6jFApG 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) iEYEABECAAYFAk0fzy4ACgkQ7uVO4mPF0DeBZQCfdlFqkcMvpylKSXJvZlIXbY7E WUoAnRY80gQNjOFrArAn1ww7BGXFamHe =zw6t -----END PGP SIGNATURE----- --nextPart2631053.8tma6jFApG-- --===============1773599136== 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 ___________________________________________________________________________________ --===============1773599136==--