Thanks, all works out nicely.  So, I have another problem.  According
to my friend, every good presentation should highlight the current
section in the table of contents.  So I defined this:

#v+
\def\mycontext#1{%
\edef\stringa{\fetchmark[section][current]}
\edef\stringb{#1}
\strut
\ifx\stringa\stringb
\color[red]{#1}
\else
#1
\fi
}
#v-

This works with

\mycontext{a subject}

and even

\mycontext{\fetchmark[section][current]}

but doesn't work with placelist[section] with this setup:

#v+
\setuplist[section][criterium=all,
symbol=none,
numbercommand=$\bullet$,
textcommand=\mycontext,
pagenumber=no,
width=\baselineskip]
#v-

I think it's because textcommand gets more then just the text as
parameter.  But there is no deeptextcommand in setuplist.

cu, Adam.
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to