On 01/08/2013 03:10 PM, Alan BRASLAU wrote:
Yes,
Many simpleslides styles seem to be broken. Thomas seems to be aware of this but has not gotten to looking into it.
(t-slidesvisualcounter.tex is part of the simpleslides module: texmf-modules/tex/context/third/simpleslides)
Alan
I hope there aren't that many broken styles... Anyway, I'm not teaching this year, so I don't use the module too often, so this slips by me. I looked at the SideToc style, but I can't figure out the problem; something must have changed in the core. So all I can do is give a minimal example for what fails and hope that one of the real experts will have an idea. Most of the clever code in the example is actually Wolfgang's... So here comes: \setuplayout [leftmargin=4cm, backspace=5cm] \define[3]\FancyEntry {\doifelse{#1}{\MyMark}% {\color[red]{#1 = \MyMark}\blank[medium]} {\color[blue]{#1 = \MyMark}\blank[medium]} } \definelist[MyTopics][criterium=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% } \setuplist[MyTopics] [pagenumber=no, alternative=command, command=\FancyEntry] \setuptexttexts[margin][\vbox{\placelist[MyTopics]}][] \starttext \Topic[First] First Topic \page \Topic[Second] Second Topic \stoptext The problem is that the \doifelse always evaluates to "false," even when \MyMark is defined and equal to the topic; I hope the example clarifies this. [tested with latest beta mkiv] All best Thomas