On 9/2/2020 7:56 AM, jbf wrote:
Am working on a book where most chapters are simply labeled Chapter One,
Chapter Two etc., and this has been achieved easily enough with
\setuplabeltext[chapter=Chapter ] (also including
\setupheads[conversion=Words] to get One, Two instead of 1 2).
But several chapter labels need to have a date range after them, e.g.
*Chapter Three: 1820-1880*.
I have tried introducing a new \setuplabeltext[chapter=Chapter:
1820-1880 ] just before the \startchapter command, but this results in*:**
*
*Chapter: 1820-1880 Three* (and I also hope that introducing this does
not also affect Chapter Four since that will have a different set of
dates).
How can I get a specific labeltext set up so that the result is *Chapter
Three: 1820-1880*, and also ensure that other chapters either return to
just the chapter number or, if needs be, can also indicate different
date ranges? I have looked everywhere on the wiki for ideas to help me,
but so far no luck.
\setuplabeltext[chapter={{Chapter },{:}}]
\setupheads[chapter][conversion=Words,distance=.25em]
\chapter{1880}
\chapter{1881}
or
\setuplabeltext[chapter={{Chapter },{: }}]
\setupheads[chapter][conversion=Words,distance=0pt]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________