From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43010 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: goto(box) and setuplist questions Date: Wed, 6 Aug 2008 20:45:06 +0200 Message-ID: <326847810808061145o7e4471d0w8cf3af738edd6787@mail.gmail.com> References: <326847810808040406wbd51741y48a9653abceec8d0@mail.gmail.com> <326847810808050407g79f25ac9v92a0cf0f442628c6@mail.gmail.com> <115224fb0808050416p1c7aba76ge84c453366370f15@mail.gmail.com> <326847810808060012s26711cd4xeaeda9d19f57f028@mail.gmail.com> <115224fb0808060145q728bcde5od601ca08c316047d@mail.gmail.com> <326847810808060316h640a76c4ra7c60489fa63c7a3@mail.gmail.com> <115224fb0808060626l8112c83o6dfc946d2423e48e@mail.gmail.com> <326847810808060715ibda42d9i82c32362a121119a@mail.gmail.com> <115224fb0808060759l55c5ec59n321e26f9ca2e6065@mail.gmail.com> <326847810808060907y6e824a40s94006921c4abbc9b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1773284503==" X-Trace: ger.gmane.org 1218048410 17747 80.91.229.12 (6 Aug 2008 18:46:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Aug 2008 18:46:50 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 06 20:47:41 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KQo2r-0003PX-Px for gctc-ntg-context-518@m.gmane.org; Wed, 06 Aug 2008 20:47:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AEA771FC83; Wed, 6 Aug 2008 20:46: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 09954-01-4; Wed, 6 Aug 2008 20:45:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE8371FBBE; Wed, 6 Aug 2008 20:45:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B9C201FBBE for ; Wed, 6 Aug 2008 20:45:42 +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 08821-01-7 for ; Wed, 6 Aug 2008 20:45:06 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by ronja.ntg.nl (Postfix) with ESMTP id 7C2DC1FB98 for ; Wed, 6 Aug 2008 20:45:06 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so22593nfd.44 for ; Wed, 06 Aug 2008 11:45:06 -0700 (PDT) Original-Received: by 10.210.126.18 with SMTP id y18mr2931454ebc.100.1218048306278; Wed, 06 Aug 2008 11:45:06 -0700 (PDT) Original-Received: by 10.210.136.3 with HTTP; Wed, 6 Aug 2008 11:45:06 -0700 (PDT) In-Reply-To: <326847810808060907y6e824a40s94006921c4abbc9b@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:43010 Archived-At: --===============1773284503== Content-Type: multipart/alternative; boundary="----=_Part_6785_11133543.1218048306270" ------=_Part_6785_11133543.1218048306270 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > The better way is to define you own list alternative. >> >> \define[3]\ChapterList >> {\hbox >> {\hbox to .5em{#1}\hskip.5em >> \vtop{\hsize150pt\relax#2}% >> \hfil#3}} >> >> \setuplist[chapter][alternative=command,command=\ChapterList] > > > I'll try that... > #1, #2, #3 being parameters which can be passed to \ChapterList, aka \ChapterList[#1,#2,#3]. Is that correct ? Best, Alan ------=_Part_6785_11133543.1218048306270 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
The better way is to define you own list alternative.

\define[3]\ChapterList
 {\hbox
    {\hbox to .5em{#1}\hskip.5em
     \vtop{\hsize150pt\relax#2}%
     \hfil#3}}

\setuplist[chapter][alternative=command,command=\ChapterList]

I'll try that...

#1, #2, #3 being parameters which can be passed to \ChapterList, aka
\ChapterList[#1,#2,#3]. Is that correct ?

Best,
Alan
------=_Part_6785_11133543.1218048306270-- --===============1773284503== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1773284503==--