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<··········································································
signature.asc
Description: Digital signature
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
