[NTG-context] list ?

Renaud AUBIN aubin at nibua-r.org
Fri Oct 20 23:36:06 CEST 2006


Hi Hans,

I succeed to do what I want thanks to you (once more ;) ) !

I'll put the resulting presentation online at least at the end of the
next week (u3d + layer + custom pre-original + animation with JS and
fieldstack + program runs including mplayer runs with linux + ...
robotics ?)

Renaud

Hans Hagen a écrit :

>maybe future version of context will provide more control; for the moment, stick to:  
>
>
>\definehead [Topic]   [chapter]
>\definehead [Subject] [section]
>
>\newcounter\MyTopicCounter
>
>\startsetups MyTopicList
>    \blank
>    \doglobal\increment\MyTopicCounter
>    \doglobal\newcounter\MySubjectCounter
>    \placelist[Topic][criterium=text,after=\setups{MySubjectList}]
>\stopsetups
>\startsetups MySubjectList
>    \doglobal\increment\MySubjectCounter
>    \doifelse{\MyTopicCounter}{\MySubjectCounter} {
>        \placelist[Subject]
>    } {
>        % whatever
>    }
>\stopsetups
>
>\starttext
>
>\Topic{first}  \Subject{one}   test \Subject{two}  test \setups[MyTopicList] \page
>\Topic{second} \Subject{alpha} test \Subject{beta} test \setups[MyTopicList] \page
>
>\stoptext
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20061020/3b5c0dcc/attachment.html 


More information about the ntg-context mailing list