Re: [NTG-context] Continued chapter numbers
\defineresetset [jbfreset] [] [0] \setuphead [chapter] [sectionresetset=jbfreset] That does indeed work for me. I had searched everywhere on the wiki and in the manuals for something like this, based on 'reset' but could not find it. While it is clearly something you knew (and I now know!), do you know where this is mentioned in any ConTeXt documentation? Grateful for the solution! Julian
On Thu, 7 Jan 2021 07:09:46 +1100
jbf
I had searched everywhere on the wiki and in the manuals for something like this, based on 'reset' but could not find it.
AFAIK it's not mentioned in the manuals. But a variant is on the wiki “Independent Section Numbering”: https://wiki.contextgarden.net/Titles \definestructureresetset [default][1,1,0][1] %% reset part, chapter, but not section \setuphead [sectionresetset=default] \definestructureresetset is the same as \defineresetset. I assume that \definestructureresetset is the preferred way. But both will work. Marco
Marco Patzer schrieb am 06.01.2021 um 22:09:
On Thu, 7 Jan 2021 07:09:46 +1100 jbf
wrote: I had searched everywhere on the wiki and in the manuals for something like this, based on 'reset' but could not find it. AFAIK it's not mentioned in the manuals. But a variant is on the wiki “Independent Section Numbering”:
https://wiki.contextgarden.net/Titles
\definestructureresetset [default][1,1,0][1] %% reset part, chapter, but not section
\setuphead [sectionresetset=default]
\definestructureresetset is the same as \defineresetset. I assume that \definestructureresetset is the preferred way. But both will work.
No, \defineresetset is the main command and \definestructureresetset is a alias for backwards compatibility. Wolfgang
On Thu, 7 Jan 2021 00:02:20 +0100
Wolfgang Schuster
\definestructureresetset is the same as \defineresetset. I assume that \definestructureresetset is the preferred way. But both will work.
No, \defineresetset is the main command and \definestructureresetset is a alias for backwards compatibility.
Thanks for the info. I updated the wiki. Marco
Am 07.01.2021 um 11:29 schrieb Marco Patzer
: Thanks for the info. I updated the wiki.
https://wiki.contextgarden.net/Titles I did some more edits, but the page is still a mess. Hraban
Am 07.01.2021 um 12:20 schrieb Henning Hraban Ramm
: Am 07.01.2021 um 11:29 schrieb Marco Patzer
: Thanks for the info. I updated the wiki.
https://wiki.contextgarden.net/Titles
I did some more edits, but the page is still a mess.
I created the command page; not sure if I got the description right: https://wiki.contextgarden.net/Command/defineresetset Hraban
participants (4)
-
Henning Hraban Ramm
-
jbf
-
Marco Patzer
-
Wolfgang Schuster