[NTG-context] problem with interaction and TOC

Hans Hagen pragma at wxs.nl
Sun Mar 22 00:27:24 CET 2015


On 3/21/2015 10:49 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
>      \setupinteraction[state=start]
>      \starttext
>      \placelist[chapter]
>      %~ \uppercasestring{context}\to\ascii
>      %~ \chapter{\getvalue{\ascii}}
>      \chapter{ConTeXt}
>      \stoptext
>
> ConTeXt complains about an error in the first line.
>
> What am I doing wrong? (Sorry, but I wanted to test the commented lines,
> but I don’t know why the simplified example doesn’t work.)

\uppercasestring{context}\to\ascii
\chapter{\meaning\ascii}  % \getvalue{\ascii}}
\chapter{\WORD{ConTeXt}}

so, \ascii is made undefined at some time


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


More information about the ntg-context mailing list