On 17-4-2010 8:27, Peter Münster wrote:
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.
eventually there will be a proper api for accessing footnote (and other) data ... for instance, one can carry user data around and access that later on Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------