ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Dirar BOUGATEF" <chabah5@hotmail.com>
Subject: Re: Table of contents, alternative d
Date: Mon, 29 Nov 2004 21:02:24 +0000	[thread overview]
Message-ID: <BAY23-F30814C4FD199F2F0740161FBBD0@phx.gbl> (raw)
In-Reply-To: <41AB5B81.2000501@wxs.nl>

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

  reply	other threads:[~2004-11-29 21:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-28 15:46 Dirar BOUGATEF
2004-11-29 17:10 ` Dirar BOUGATEF
2004-11-29 17:25   ` Hans Hagen
2004-11-29 21:02     ` Dirar BOUGATEF [this message]
2004-11-30  0:53       ` Patrick Gundlach
2004-11-30  8:56         ` Dirar BOUGATEF
2004-11-30  9:56           ` Hans Hagen
2004-11-30 10:59             ` Dirar BOUGATEF
2004-11-29 18:00   ` Patrick Gundlach
2004-11-29 19:35 ` Willi Egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY23-F30814C4FD199F2F0740161FBBD0@phx.gbl \
    --to=chabah5@hotmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).