From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58192 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: lua, footnotes, interaction Date: Sat, 17 Apr 2010 09:20:41 +0200 Message-ID: <20100417072041.GA25161@localhost.localdomain> References: <20100416211038.GA20607@localhost.localdomain> <20100417065205.GA31152@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2110219026==" X-Trace: dough.gmane.org 1271488950 24392 80.91.229.12 (17 Apr 2010 07:22:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2010 07:22:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 17 09:22:29 2010 connect(): No such file or directory 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 1O32MF-00047E-9r for gctc-ntg-context-518@m.gmane.org; Sat, 17 Apr 2010 09:22:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1F1C1C9CCA; Sat, 17 Apr 2010 09:22:27 +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 7e5DmOkW+SuB; Sat, 17 Apr 2010 09:22:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E408C9C69; Sat, 17 Apr 2010 09:22:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E71B3C9CA4 for ; Sat, 17 Apr 2010 09:22:03 +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 Ovlu99xA29Z8 for ; Sat, 17 Apr 2010 09:21:43 +0200 (CEST) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by balder.ntg.nl (Postfix) with ESMTP id AAB0DC9C53 for ; Sat, 17 Apr 2010 09:21:43 +0200 (CEST) Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o3H7LYDA017559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 Apr 2010 09:21:34 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o3H7LgZG027348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 17 Apr 2010 09:21:42 +0200 Original-Received: from localhost (mnhm-5f75d313.pool.mediaWays.net [95.117.211.19]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o3H7LYSb025327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 17 Apr 2010 09:21:35 +0200 In-Reply-To: <20100417065205.GA31152@gaston.couberia.bzh> X-Operating-System: Linux aides 2.6.34-rc3 User-Agent: Mutt/1.5.20 (2009-06-14) 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:58192 Archived-At: --===============2110219026== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline --KsGdsel6WgEHnImy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Peter, hi all! On 2010-04-17 <08:52:05>, Peter M=C3=BCnster wrote: > On Fri, Apr 16 2010, Philipp Gesang wrote: >=20 > > I'd naively expect \track#1 to behave identically regardless of > > interaction. How do I make it interaction-proof >=20 > Sorry, I had forgotten to answer your main-question: >=20 > \def\foottrack#1{\expanded{\footnote{\ctxlua{track.simple("#1")}}}} Thanks very much, this does it! > > and, if possible, how do I interaction-proof macros in general? >=20 > I don't know, but I suppose \expanded{} can help in most cases. =20 Adding that one to my =E2=80=9Ctry first=E2=80=9D-list seems reasonable. Th= ere's a macro \expanded defined in syst-aux.mkiv but it mentions certain =E2=80=9Crecent = TeXs=E2=80=9D that have it builtin as a primitive -- which one am I using in mkiv? The LuaTeXbook mentions an extra primitive =E2=80=9C\expanded=E2=80=9D take= n from pdfTeX. Are they equivalent? Thanks a lot for your help! Philipp > Cheers, Peter >=20 > --=20 > Contact information: http://pmrb.free.fr/contact/ >=20 >=20 > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvJYUkACgkQ02lYlJYWs9IqRwCgjmqcpyOb5w6nN6pvpd3wNZyV iNsAn1KdbbNSmL1KdC/xurRNUQw3NRgk =WHGb -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- --===============2110219026== 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 ___________________________________________________________________________________ --===============2110219026==--