From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58189 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:27:53 +0200 Message-ID: <20100417062753.GA30975@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 1271485709 17995 80.91.229.12 (17 Apr 2010 06:28:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2010 06:28:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 17 08:28:28 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 1O31W0-0000SB-9G for gctc-ntg-context-518@m.gmane.org; Sat, 17 Apr 2010 08:28:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A5A0C9CB9; Sat, 17 Apr 2010 08:28: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 GKxccRmEl1fp; Sat, 17 Apr 2010 08:28:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73D13C9C69; Sat, 17 Apr 2010 08:28:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8EFD1C9C69 for ; Sat, 17 Apr 2010 08:28:05 +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 9ZeR81OXHCIr for ; Sat, 17 Apr 2010 08:27:54 +0200 (CEST) Original-Received: from smtp2f.orange.fr (smtp2f.orange.fr [80.12.242.151]) by balder.ntg.nl (Postfix) with ESMTP id BA619C9C53 for ; Sat, 17 Apr 2010 08:27:54 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f07.orange.fr (SMTP Server) with ESMTP id 5E1A88000174 for ; Sat, 17 Apr 2010 08:27:54 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f07.orange.fr (SMTP Server) with ESMTP id 514548000179 for ; Sat, 17 Apr 2010 08:27:54 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-551-1-88-198.w92-139.abo.wanadoo.fr [92.139.95.198]) by mwinf2f07.orange.fr (SMTP Server) with ESMTP id 2F6FB8000174 for ; Sat, 17 Apr 2010 08:27:54 +0200 (CEST) X-ME-UUID: 20100417062754194.2F6FB8000174@mwinf2f07.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id A352D3057E; Sat, 17 Apr 2010 08:27:53 +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:58189 Archived-At: On Fri, Apr 16 2010, Philipp Gesang wrote: > function track.simple(arg) Try this: print("TRACK:", arg) > \def\foottrack#1{\footnote{\ctxlua{track.simple("#1")}}} With interaction enabled, the argument to \footnote{} gets evaluated twice. 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 ___________________________________________________________________________________