[NTG-context] ASCII mode within \footnote

Hans Hagen j.hagen at xs4all.nl
Fri Nov 1 14:36:51 CET 2019


On 11/1/2019 2:23 PM, context at vivaldi.net wrote:
> Hello,
> 
> the following code doesn't compile:
> 
> ----
> \starttext
>    \startasciimode %@$\stopasciimode
>    A
>    \footnote{\startasciimode %@$\stopasciimode} % <<<< Try to comment this
> \stoptext
> ----
> 
> When the line with \footnote is commented, compilation works fine.
> 
> What's "evil" in \footnote{\startasciimode %@$\stopasciimode}?
the fact that startasciimode will not be in action as it's passed as 
argument

\starttext
     \startasciimode
         %@$
         A
         \footnote{%@$} % <<<< Try to comment this
     \stopasciimode
     \startasciimode
         \footnote{%@$}
     \stopasciimode
\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list