* 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
* Re: Continued chapter numbers
2021-01-06 9:24 jbf
@ 2021-01-06 10:02 ` Marco Patzer
2021-01-06 10:10 ` denis.maier
1 sibling, 0 replies; 10+ messages in thread
From: Marco Patzer @ 2021-01-06 10:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 6 Jan 2021 20:24:07 +1100
jbf <roma83537@gmail.com> wrote:
> 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.
\defineresetset
[jbfreset] [] [0]
\setuphead
[chapter]
[sectionresetset=jbfreset]
Marco
___________________________________________________________________________________
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
* Re: Continued chapter numbers
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
1 sibling, 1 reply; 10+ messages in thread
From: denis.maier @ 2021-01-06 10:10 UTC (permalink / raw)
To: ntg-context
Not tested, but what about this?
\setupcounter[chapter][way=bytext]
Best,
Denis
> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von jbf
> Gesendet: Mittwoch, 6. Januar 2021 10:24
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: [NTG-context] Continued chapter numbers
>
> 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
> __________________________________________________________
> _________________________
___________________________________________________________________________________
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
* Re: Continued chapter numbers
2021-01-06 10:10 ` denis.maier
@ 2021-01-06 20:58 ` jbf
0 siblings, 0 replies; 10+ messages in thread
From: jbf @ 2021-01-06 20:58 UTC (permalink / raw)
To: denis.maier; +Cc: mailing list for ConTeXt users
Thanks Denis, as you said not tested, but now it has been tested... did
not work, though I might try some variations of that just to see if it
could work somehow.
In the meantime Marco's solution has worked so the immediate problem is
resolved.
Julian
On 6/1/21 9:10 pm, denis.maier@ub.unibe.ch wrote:
> Not tested, but what about this?
>
> \setupcounter[chapter][way=bytext]
>
> Best,
> Denis
>
>> -----Ursprüngliche Nachricht-----
>> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von jbf
>> Gesendet: Mittwoch, 6. Januar 2021 10:24
>> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
>> Betreff: [NTG-context] Continued chapter numbers
>>
>> 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
>> __________________________________________________________
>> _________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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).