ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
Subject: Re: help! how to get a part title?
Date: Fri, 28 Feb 2003 13:53:08 +0100	[thread overview]
Message-ID: <95D9B3F6-4B1B-11D7-BABE-0030659899AA@fiee.net> (raw)
In-Reply-To: <71F22241-4AB1-11D7-AB5E-0050E4258255@fastmail.fm>

> I looked in the docs, but there is no explicit discussion on setting 
> up parts formatting, and it's not intuitively obvious (at least to me) 
> how to apply the procedures for, say, sections (which are formatted by 
> default) to those for parts (which are not).

parts are formatted like any other sectioning commands.
Ok, it should be mentioned somewhere that "part" has no default setup.

>> \setuphead[part]
>> 		[style={\ss\bfc}, page=yes, number=yes,
>> 		placehead=yes, align=right,
>> 		before={}, after=\blank, header=empty]
>>
> For part 1, I get "Part 1..." at the top of the page, and text 
> (beginning with the first section) begins right after it.

That makes "after=\blank" (only one empty line after the part line; I 
needed that because the first chapter of a part should begin on the 
part page).

> For part 2, I get (as I was looking for) "Part 2..." on a separate 
> page, plus a blank page that follows, and then the sample chapter.

If you are not paper restricted (my book had to fit into a fixed page 
frame), you normally should use "page=right" and no "before" or "after".

> Just so I understand this, is this explained by some interaction 
> between the chapter setup commands, and the parts?

Maybe. Perhaps your chapter is defined with "page=right".
You didn't show us your chapter setup, and I can't find my cristal ball.

Grüßlis vom Hraban!
-- 
www.fiee.net/texnique/
www.ramm.ch/context/

      reply	other threads:[~2003-02-28 12:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 22:07 Bruce D'Arcus
2003-02-26 22:43 ` John Culleton
2003-02-27 16:36   ` Bruce D'Arcus
2003-02-27 22:06     ` Henning Hraban Ramm
2003-02-28  0:12       ` John Culleton
2003-02-28 12:55         ` Henning Hraban Ramm
2003-02-28  0:13       ` Bruce D'Arcus
2003-02-28 12:53         ` Henning Hraban Ramm [this message]

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=95D9B3F6-4B1B-11D7-BABE-0030659899AA@fiee.net \
    --to=hraban@fiee.net \
    --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).