Good evening all, interaction remains a mystery to me. When tracking things I encountered the following deviation in footnotes: ---8<-------------------------------------------------------------------------- \startluacode track = {} track.preceding = "" function track.simple(arg) context("Last one:\\ {\\bf " .. track.preceding .. "}.\\ " .. "This one:\\ {\\bf " .. arg .. "}") if arg == track.preceding then context("\\ -- matching!") else context("\\ -- not matching!") track.preceding = arg end end \stopluacode \def\track#1{\ctxlua{track.simple("#1")}} \def\foottrack#1{\footnote{\ctxlua{track.simple("#1")}}} \starttext \section{Normal} \track{one}\par \track{two}\par \track{two}\par \track{one}\par \track{one}\par \track{two}\par \track{one}\par \section{In Footnotes} \foottrack{one} \foottrack{two} \foottrack{two} \foottrack{one} \foottrack{one} \foottrack{two} \foottrack{one} \setupinteraction[state=start] \section{In Footnotes, interaction enabled} \footnote{\hrule} \foottrack{one} \foottrack{two} \foottrack{two} \foottrack{one} \foottrack{one} \foottrack{two} \foottrack{one} \stoptext % vim:ft=context ---8<-------------------------------------------------------------------------- I'd naively expect \track#1 to behave identically regardless of interaction. How do I make it interaction-proof, and, if possible, how do I interaction-proof macros in general? Thanks for your efforts, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments