From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17320 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Table of contents, alternative d Date: Mon, 29 Nov 2004 20:35:36 +0100 Message-ID: <41AB7A08.6040309@boede.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101756948 13871 80.91.229.6 (29 Nov 2004 19:35:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2004 19:35:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 20:35:43 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CYrJH-0004VA-00 for ; Mon, 29 Nov 2004 20:35:43 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D69C126F8; Mon, 29 Nov 2004 20:35:42 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28332-06; Mon, 29 Nov 2004 20:35:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 945F612778; Mon, 29 Nov 2004 20:35:38 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A4A712778 for ; Mon, 29 Nov 2004 20:35:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28393-04-3 for ; Mon, 29 Nov 2004 20:35:36 +0100 (CET) Original-Received: from smtp-vbr14.xs4all.nl (unknown [194.109.24.34]) by ronja.ntg.nl (Postfix) with ESMTP id 98D1F126F8 for ; Mon, 29 Nov 2004 20:35:36 +0100 (CET) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr14.xs4all.nl (8.12.11/8.12.11) with ESMTP id iATJZaJl065693 for ; Mon, 29 Nov 2004 20:35:36 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17320 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17320 Hi Dirar, As mentioned by Patrick, live would be easier to help, if you would provide a complete test-code ... % Table of contents Dirar Bougatef \setupoutput[pdftex] % \definelist[part] \setuplist[part][before={\blank[big]},after=\blank] % \definelist[chapter] \setuplist [chapter] [alternative=d, margin=2cm, left=(, right=), depth=2cm, before=\blank, after=\blank, style=bold] \starttext \placecontent[level=chapter] \part{Dirar - part 1} \dorecurse{3}{\chapter{Dirar - chapter}} \part{Dirar - part 2} \dorecurse{3}{\chapter{Dirar - chapter}} \stoptext Fisrt of alle you do do not need to redefine commands which are already defined within context (Commented rows above). Secondly, afaik the style option in the setuplist command has a predefined list of possibilities. So context will not understand "Opulent". Kind regards Willi Dirar BOUGATEF wrote: > Hi all, > > Am using the alternative d for my table of contents, i know how to align > my elements left (from the left margin) but can't manage to do that at > the right side (from the right margin). > > This is how i configure things: > > \definelist[part] > \setuplist[part][before={\blank[big]},after=\blank] > % > \definelist[chapter] > \setuplist[chapter][alternative=d,margin=2cm,left=(,right=),depth=2cm,before=\blank,after=\blank,style=Opulent] > > > \placecontent[level=chapter] > > Any help .. Thanks. > > Dirar. > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context