From: Marco Patzer <lists@homerow.info>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Part label and chapter numbers
Date: Mon, 4 Jan 2021 10:27:17 +0100 [thread overview]
Message-ID: <20210104102717.261269cc@homerow> (raw)
In-Reply-To: <404e8cdd-324b-f626-4b27-ba8c8d83423c@gmail.com>
On Mon, 4 Jan 2021 13:22:55 +1100
jbf <roma83537@gmail.com> wrote:
> Issue 1:
>
> Parts need to be called 'Section' (Section 1, section 2 etc.).
\setuphead
[part]
[placehead=yes,
bodypartlabel=part]
\setuplabeltext
[part=Section\nobreakspace]
> Issue 2:
>
> While the above 'sections' are numbered in arabic numbers, Chapters
> are meant to be in words.
\setuplabeltext
[chapter=Chapter\nobreakspace]
\setuphead
[chapter]
[conversion=Words]
> Issue 3 might already be solved once I resolve Issue 2!
>
> But given that I have parts, the chapters at the moment come out as
> Chapter 1.1... Chapter 2.1 etc. and I simply want Chapter One,
> Chapter Two and so on
\setuphead
[chapter]
[sectionsegments=chapter]
\setuphead
[section]
[sectionsegments=chapter:section]
> Any thoughts?
An MWE would have been nice to have.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-01-04 9:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 2:22 jbf
2021-01-04 9:27 ` Marco Patzer [this message]
[not found] ` <138bedb9-f559-cf6b-db34-e012f8c19ddb@gmail.com>
2021-01-04 22:09 ` Marco Patzer
2021-01-04 22:27 ` jbf
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=20210104102717.261269cc@homerow \
--to=lists@homerow.info \
--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).