[NTG-context] Part label and chapter numbers

Marco Patzer lists at homerow.info
Mon Jan 4 10:27:17 CET 2021


On Mon, 4 Jan 2021 13:22:55 +1100
jbf <roma83537 at 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


More information about the ntg-context mailing list