Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.

> On 21 Mar 2016, at 15:28, Hans Hagen  wrote:
> 
> when playign with some new feature i commented too much
> 
> around line 722, uncomment:
> 
> \setuplistalternative
>  [\c!command=\strictlistparameter\c!command,
>   \c!symbol=.]
> 
> 

Done, and it works again! Thanks Hans!

Thomas
___
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
___

Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Hans Hagen

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@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
-
___
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
___

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
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



2015_11_19.pdf
Description: Adobe PDF document


2016_03_13.pdf
Description: Adobe PDF document
___
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
___