From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31429 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: list ? Date: Thu, 19 Oct 2006 23:37:12 +0200 Message-ID: <4537F008.2000608@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1402904960==" X-Trace: sea.gmane.org 1161293873 28798 80.91.229.2 (19 Oct 2006 21:37:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2006 21:37:53 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 19 23:37:51 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gafa6-00074q-Ee for gctc-ntg-context-518@m.gmane.org; Thu, 19 Oct 2006 23:37:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E17771FEC0; Thu, 19 Oct 2006 23:37:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15748-01; Thu, 19 Oct 2006 23:37:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7BF821FE7B; Thu, 19 Oct 2006 23:37:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 893841FEBA for ; Thu, 19 Oct 2006 23:37:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15237-04-3 for ; Thu, 19 Oct 2006 23:37:22 +0200 (CEST) Original-Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [213.186.42.179]) by ronja.ntg.nl (Postfix) with SMTP id 3FE481FE63 for ; Thu, 19 Oct 2006 23:37:22 +0200 (CEST) Original-Received: (qmail 12232 invoked by uid 503); 19 Oct 2006 21:37:40 -0000 Original-Received: (QMFILT: 1.0); 19 Oct 2006 21:37:40 -0000 Original-Received: from b6.ovh.net (HELO mail156.ha.ovh.net) (213.186.33.56) by 26.mail-out.ovh.net with SMTP; 19 Oct 2006 21:37:40 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 19 Oct 2006 21:37:06 -0000 Original-Received: from d83-179-99-76.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.99.76) by ns0.ovh.net with SMTP; 19 Oct 2006 21:37:03 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: ConTeXt Mailing List X-Ovh-Remote: 83.179.99.76 (d83-179-99-76.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31429 Archived-At: This is a multi-part message in MIME format. --===============1402904960== Content-Type: multipart/alternative; boundary="------------000809010701020803060500" This is a multi-part message in MIME format. --------------000809010701020803060500 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, Considering the fact that I have no answer for the thread "[NTG-context] Presentation style: customizing the right interaction menu (list-related thread)", I decided to reformulate my problem... After some experiments, I have the following code: \definehead [Topic] [chapter] \definehead [Subject] [section] \setuplist[Topic][alternative=f,criterium=all,align=left] \setuplist[Subject][alternative=f,criterium=chapter,align=left] \starttext \Topic{Topic 1} \Subject{Subject 1} \Subject{Subject 2} \Subject{Subject 3} \placelist[Topic,Subject] \Topic{Topic 2} \Subject{Subject 1} \Subject{Subject 2} \Subject{Subject 3} \stoptext Considering the fact that I use criterium=chapter in \setuplist[Subject], I thought that \placelist[Topic,Subject] leads to: Topic 1 Subject 1 Subject 2 Subject 3 Topic 2 but unfortunately, that's not the case and I don't understand why... I've also tried some setup with combinedlist but nothing works... Could someone explain why criterium as no effect... Moreover, I don't understand what coupling= on|off does... Renaud --------------000809010701020803060500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi all,

Considering the fact that I have no answer for the thread "[NTG-context] Presentation style: customizing the right interaction menu (list-related thread)", I decided to reformulate my problem...

After some experiments, I have the following code:

\definehead [Topic]   [chapter]
\definehead [Subject] [section]

\setuplist[Topic][alternative=f,criterium=all,align=left]
\setuplist[Subject][alternative=f,criterium=chapter,align=left]

\starttext

\Topic{Topic 1}
\Subject{Subject 1}
\Subject{Subject 2}
\Subject{Subject 3}

\placelist[Topic,Subject]

\Topic{Topic 2}
\Subject{Subject 1}
\Subject{Subject 2}
\Subject{Subject 3}

\stoptext

Considering the fact that I use criterium=chapter in \setuplist[Subject], I thought that \placelist[Topic,Subject] leads to:

Topic 1
Subject 1
Subject 2
Subject 3
Topic 2

but unfortunately, that's not the case and I don't understand why... I've also tried some setup with combinedlist but nothing works... Could someone explain why criterium as no effect... Moreover, I don't understand what coupling= on|off does...

Renaud

--------------000809010701020803060500-- --===============1402904960== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1402904960==--