ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: Joey McCollum via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: Setting a heading text on its own page with \setuphead
Date: Fri, 6 Aug 2021 19:54:35 +0200	[thread overview]
Message-ID: <3eb601a5-9710-5813-f306-6d25e9ca8cd0@gmx.es> (raw)
In-Reply-To: <CAGxRUG99c0m+NqozX+qKhyY7cYp6fYDB=N_t+ceQwqeO7YSv_Q@mail.gmail.com>

On 8/6/21 7:12 PM, Joey McCollum via ntg-context wrote:
> Hi,
>
> I'd like to define my own class of heading derived from the "part"
> heading; in the MWE below, it's called "MyPart".

Hi Joey,

these are options for \setuphead[part] (MyPart in your case):

> I'd like this heading to have the following features:
>
>   * Its title should appear in the ToC, but its number should never be
>     printed in the ToC or in the text.

number=no.

>   * It should always start on an odd page.

This is the default for \setuphead[part] (only noticeable in doublesided
documents).

>   * Its text should be in a larger size than the text of the body, set
>     in all caps, and set with extra letterspacing.

style is the right option there.

>   * Most importantly, the title of the heading should appear on its own
>     page without a header or footer. The text of the body should begin
>     on the next odd page.

placehead=yes is required for \setuphead[part]. And also for MyPart.

header=empty and footer=emtpy. For the page break before the body text,
you need after=\page.

> I was hoping to accomplish all of this within the \setuphead command,
> and it seems like this should be possible, but in the following example,
> I'm not getting the text of the header at all.

See above. I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-08-06 17:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 17:12 Joey McCollum via ntg-context
2021-08-06 17:54 ` Pablo Rodriguez via ntg-context [this message]
2021-08-06 23:41   ` Joey McCollum via ntg-context
2021-08-07  9:20 ` Wolfgang Schuster via ntg-context
2021-08-07 19:14   ` Joey McCollum via ntg-context

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=3eb601a5-9710-5813-f306-6d25e9ca8cd0@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).