ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* placelist not working in latest beta
@ 2016-03-21  8:57 Schmitz Thomas A.
  2016-03-21 14:28 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Schmitz Thomas A. @ 2016-03-21  8:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

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.

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


[-- Attachment #2: 2015_11_19.pdf --]
[-- Type: application/pdf, Size: 10186 bytes --]

[-- Attachment #3: 2016_03_13.pdf --]
[-- Type: application/pdf, Size: 11054 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-21 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-21  8:57 placelist not working in latest beta Schmitz Thomas A.
2016-03-21 14:28 ` Hans Hagen
2016-03-21 15:10   ` Schmitz Thomas A.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).