From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58190 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: lua, footnotes, interaction Date: Sat, 17 Apr 2010 08:52:05 +0200 Message-ID: <20100417065205.GA31152@gaston.couberia.bzh> References: <20100416211038.GA20607@localhost.localdomain> 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 1271487152 20728 80.91.229.12 (17 Apr 2010 06:52:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2010 06:52:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 17 08:52:31 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 1O31tG-0000ic-G0 for gctc-ntg-context-518@m.gmane.org; Sat, 17 Apr 2010 08:52:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7AD2C9CAC; Sat, 17 Apr 2010 08:52:29 +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 Uh78opSVpzXi; Sat, 17 Apr 2010 08:52:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA7FDC9C53; Sat, 17 Apr 2010 08:52:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE48AC9C35 for ; Sat, 17 Apr 2010 08:52:16 +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 nRvd3aZN8ILG for ; Sat, 17 Apr 2010 08:52:06 +0200 (CEST) Original-Received: from smtp2f.orange.fr (smtp2f.orange.fr [80.12.242.150]) by balder.ntg.nl (Postfix) with ESMTP id 1B68CC9C53 for ; Sat, 17 Apr 2010 08:52:05 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f29.orange.fr (SMTP Server) with ESMTP id C9A0880002D1 for ; Sat, 17 Apr 2010 08:52:05 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f29.orange.fr (SMTP Server) with ESMTP id BC8CC80002F4 for ; Sat, 17 Apr 2010 08:52:05 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-551-1-88-198.w92-139.abo.wanadoo.fr [92.139.95.198]) by mwinf2f29.orange.fr (SMTP Server) with ESMTP id 983C180002D1 for ; Sat, 17 Apr 2010 08:52:05 +0200 (CEST) X-ME-UUID: 20100417065205623.983C180002D1@mwinf2f29.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 19EAA3057E; Sat, 17 Apr 2010 08:52:05 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <20100416211038.GA20607@localhost.localdomain> User-Agent: Mutt/1.5.17 (2007-11-01) 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:58190 Archived-At: On Fri, Apr 16 2010, Philipp Gesang wrote: > I'd naively expect \track#1 to behave identically regardless of > interaction. How do I make it interaction-proof Sorry, I had forgotten to answer your main-question: \def\foottrack#1{\expanded{\footnote{\ctxlua{track.simple("#1")}}}} > and, if possible, how do I interaction-proof macros in general? I don't know, but I suppose \expanded{} can help in most cases. Cheers, 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 ___________________________________________________________________________________