On Feb 7, 2010, at 11:16 PM, Wolfgang Schuster wrote:
you can do something like this (not sure if it works):
\setuplist[...][alternative=command,command=\MyFancyListentry]
\define[3]\MyFancyListentry {\doifelse{#2}{\fullstructureheadtitle} % is this the correct value? {...}% fancy layout {...}% normal layout ...}
Wolfgang
Wolfgang, thanks a lot! I could adapt your code so it does what I want! Here's what I have now, I'm sure I can run with that for the presentation stuff. Thanks a lot, and best wishes! Thomas \definelist[MyTopics][criterium=all] \define[3]\FancyEntry {\doifelse{#1}{\MyMark} % {\color[blue]{#1}}% fancy layout {\color[red]{#1}}% normal layout \par} \setuplist[MyTopics] [style=\tfxx, pagenumber=no, alternative=command, command=\FancyEntry] \def\Topic#1{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% \completelist[MyTopics]% } \starttext \Topic{First} Hello 1 \page \Topic{Second} Hello 2 \page \Topic{Third} Hello 3 \page \Topic{Fourth} Hello 4 \stoptext