ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Continued chapter numbers
@ 2021-01-06 20:09 jbf
  2021-01-06 21:09 ` Marco Patzer
  0 siblings, 1 reply; 10+ messages in thread
From: jbf @ 2021-01-06 20:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

\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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Continued chapter numbers
@ 2021-01-06  9:24 jbf
  2021-01-06 10:02 ` Marco Patzer
  2021-01-06 10:10 ` denis.maier
  0 siblings, 2 replies; 10+ messages in thread
From: jbf @ 2021-01-06  9:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I need chapter numbers to continue sequentially across several parts. At 
the moment, when Part 2 begins, it begins with Chapter 1 once more, 
while it should be (in continued sequence) Chapter 4.

I know that I can achieve the desired result by including ownnumber=4, so:

\startchapter[title={My chapter title},ownnumber=4] will do that for me. 
But this means I have to do it for every chapter that follows (there are 
11 more!).

Perhaps there is a single way to get the result I want in the preamble 
with \setuphead[chapter] or similar. I have searched the wiki but it is 
not easy to find an answer to this. Can anyone point me to where, in the 
wiki, I can find a simple way to ensure sequential chapter numbers?

Julian

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-07 11:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 20:09 Continued chapter numbers jbf
2021-01-06 21:09 ` Marco Patzer
2021-01-06 23:02   ` Wolfgang Schuster
2021-01-07 10:29     ` Marco Patzer
2021-01-07 11:20       ` Henning Hraban Ramm
2021-01-07 11:39         ` Henning Hraban Ramm
  -- strict thread matches above, loose matches on Subject: below --
2021-01-06  9:24 jbf
2021-01-06 10:02 ` Marco Patzer
2021-01-06 10:10 ` denis.maier
2021-01-06 20:58   ` jbf

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).