[NTG-context] placelist not working in latest beta

Hans Hagen pragma at wxs.nl
Mon Mar 21 15:28:13 CET 2016


On 3/21/2016 9:57 AM, Schmitz Thomas A. wrote:
> Hi all,
>
> example attached with output from latest beta and an older one. The \placelist command appears to have changed recently; the older beta I tested is from November, but this used to work in February as well, the change must be recent.

when playign with some new feature i commented too much

around line 722, uncomment:

\setuplistalternative
   [\c!command=\strictlistparameter\c!command,
    \c!symbol=.]



> Thanks a lot
>
> Thomas
>
> \definelist[MyTopics][criterium=all]
>
> \def\MyMark{}
>
> \def\Topic%
>    {\dosingleargument\doTopic}
>
> \def\doTopic[#1]{%
>    \gdef\MyMark{#1}%
>    \writetolist[MyTopics][location=none]{#1}{}}
>
> \define[3]\FancyEntry{%
>    \doifelse{\rawstructurelistfirst}{\MyMark}%
>      {\quad\color[red]{#1}\quad}
>      {\quad #1\quad}}
>
> \setuplist[MyTopics]
>            [pagenumber=no,
>             alternative=command,
>             command=\FancyEntry]
>
> \setupfootertexts [{\switchtobodyfont[8pt]\quad{\placelist[MyTopics]}}]
>
> \starttext
>
> \Topic[First]
> \contextversion
>
> First Topic
>
> \page
>
> \Topic[Second]
>
> Second Topic
>
> \page
>
> \Topic[Third]
>
> Third Topic
>
> \stoptext
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

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


More information about the ntg-context mailing list