[NTG-context] interaction fails with footnotes

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Tue Mar 16 10:58:08 CET 2010


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<··········································································
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100316/51e13504/attachment.pgp>


More information about the ntg-context mailing list