ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Bruce D'Arcus" <bdarcus@fastmail.fm>
Subject: Re: help! how to get a part title?
Date: Thu, 27 Feb 2003 19:13:21 -0500	[thread overview]
Message-ID: <71F22241-4AB1-11D7-AB5E-0050E4258255@fastmail.fm> (raw)
In-Reply-To: <B524380D-4A9F-11D7-BAEF-0030659899AA@fiee.net>


On Thursday, February 27, 2003, at 05:06  PM, Henning Hraban Ramm wrote:

> It's really quite easy, you must only setup the "part" head -- you 
> could find it in the docs yourself.

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).

> (John tends to give a bit contraproductive low-level TeX answers even 
> if there's a comfortable ConTeXt solution...)
>
> An example from my latest book:
>
> \setuphead[part]
> 		[style={\ss\bfc}, page=yes, number=yes,
> 		placehead=yes, align=right,
> 		before={}, after=\blank, header=empty]
>
> Any more questions?

Yes :-)

The doc I am working on is a two-part book proposal.  The first part is 
the proposal proper, while the second part is a sample chapter from the 
book.  In other words, the first part has no chapter, while the second 
part does.

If I use your code, here is what I get:

For part 1, I get "Part 1..." at the top of the page, and text 
(beginning with the first section) begins right after it.
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.

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

Thank you!

Bruce

  parent reply	other threads:[~2003-02-28  0:13 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 [this message]
2003-02-28 12:53         ` Henning Hraban Ramm

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=71F22241-4AB1-11D7-AB5E-0050E4258255@fastmail.fm \
    --to=bdarcus@fastmail.fm \
    --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).