From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: Gerben Wierda via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: A book with sections
Date: Sat, 23 Oct 2021 16:48:54 +0200 [thread overview]
Message-ID: <70978c3b-4c87-e5b8-465d-e5c08092196e@gmx.es> (raw)
In-Reply-To: <A2A80763-07AA-4260-977B-0C82DDC14231@rna.nl>
On 10/23/21 3:51 PM, Gerben Wierda via ntg-context wrote:
>> On 23 Oct 2021, at 15:34, Wolfgang Schuster wrote:
>> [...]
>> You can use \part.
>
> Yes. Thanks. But that leads to additional questions:
> - how do I get the parts to show up in the table of contents? Because
> I tried \part but it did not show up
> - how do I let chapters number on (not restart in each part, and not
> a x.y number but simply ‘2. Chapter’
> - what is a good way to create actual RHS ‘title’ pages for each
> chapter?
> - how do I get parts to number with Roman numerals?
Hi Gerben,
I don’t know what actual RHS title pages are:
\definestructureresetset[default][0,1,1][1]
\definestructureconversionset[sectionnumbers][R,n][n]
\setupheads[sectionconversionset=sectionnumbers,
sectionresetset=default]
\setuphead[part][placehead=yes]
\setuphead[chapter][sectionsegments=chapter]
\setuphead[section][sectionsegments=chapter:section]
\starttext
\completecontent
\dorecurse{25}{\part{Part}
\chapter{Chapter}
\section{Section}
\section{Section}}
\stoptext
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-10-23 14:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-23 13:20 Gerben Wierda via ntg-context
2021-10-23 13:34 ` Wolfgang Schuster via ntg-context
2021-10-23 13:51 ` Gerben Wierda via ntg-context
2021-10-23 14:43 ` Wolfgang Schuster via ntg-context
2021-10-23 14:48 ` Pablo Rodriguez via ntg-context [this message]
2021-10-23 23:01 ` Bruce Horrocks via ntg-context
2021-10-24 8:33 ` Duncan Hothersall 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=70978c3b-4c87-e5b8-465d-e5c08092196e@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).