On 2010-03-16 <00:33:12>, Wolfgang Schuster wrote:
Am 16.03.10 00:20, schrieb Philipp Gesang:
\def\startsomething{% \bgroup% \dosingleempty\dostartsomething } \unexpanded\def\startsomething{...}
\let\stopsomething\relax
Thanks, but that didn't work either. I'm now convinced it is a bug because ConTeXt's own \[start|stop]commands fail as well. The following code works flawlessly with texexec but not in MkIV: ···8<·········································································· \tracingcommands=1 \tracingonline=1 \setupinteraction[state=start] \unexpanded\def\test{\dosingleempty\dotest} \def\dotest[#1]#2{#2} \def\startsomething{% \bgroup% \dosingleempty\dostartsomething } \unexpanded\def\dostartsomething[#1]#2\stopsomething{% #2 \egroup% } \starttext Words before a footnote% \startfootnote \startnarrower[left] Test \stopnarrower %\startsomething[naught] %Test %\stopsomething \stopfootnote \stoptext % vim:ft=context ···8<··········································································