From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17321 Path: main.gmane.org!not-for-mail From: "Dirar BOUGATEF" Newsgroups: gmane.comp.tex.context Subject: Re: Table of contents, alternative d Date: Mon, 29 Nov 2004 21:02:24 +0000 Message-ID: References: <41AB5B81.2000501@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1101762388 31418 80.91.229.6 (29 Nov 2004 21:06:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2004 21:06:28 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 22:06:22 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 1CYsj0-0005Iq-00 for ; Mon, 29 Nov 2004 22:06:22 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5AC6E127C1; Mon, 29 Nov 2004 22:06:22 +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 28961-03; Mon, 29 Nov 2004 22:06:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 341B912787; Mon, 29 Nov 2004 22:03:17 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 49D4512787 for ; Mon, 29 Nov 2004 22:03:16 +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 28961-02 for ; Mon, 29 Nov 2004 22:03:15 +0100 (CET) Original-Received: from hotmail.com (unknown [64.4.22.80]) by ronja.ntg.nl (Postfix) with ESMTP id 6077F1277A for ; Mon, 29 Nov 2004 22:03:15 +0100 (CET) Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 29 Nov 2004 13:03:14 -0800 Original-Received: from 82.226.175.122 by by23fd.bay23.hotmail.msn.com with HTTP; Mon, 29 Nov 2004 21:02:24 GMT X-Originating-IP: [82.226.175.122] X-Originating-Email: [chabah5@hotmail.com] X-Sender: chabah5@hotmail.com In-Reply-To: <41AB5B81.2000501@wxs.nl> Original-To: ntg-context@ntg.nl X-OriginalArrivalTime: 29 Nov 2004 21:03:14.0197 (UTC) FILETIME=[D75D6450:01C4D656] 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:17321 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17321 Hi all, Great idea, i now have a working sample (What i want is to control the right margin distance for both parts and chapters - Here i can control only the left margin distance which is 1.7cm for chapters) \setupoutput[pdftex] \setuphead [part] [align=left,page=right,placehead=yes,before={\hbox{}\vfill},after={\vfill}] \setuphead [chapter][before=,after=\blank] \setuplist [chapter][alternative=d,margin=1.7cm,left=(,right=),pagestyle=slanted,depth=2cm,before=\blank,after=\blank] \setuplist [part] [before={\blank[big]},after=\blank] \starttext \placecontent \part{first part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five} \part{second part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five} \part{Third part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five} \stoptext