ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Section numbering does not work
@ 2024-02-12 23:17 Oliver Marugg
  2024-02-13  8:29 ` [NTG-context] " Taco Hoekwater
  2024-02-13 15:54 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Oliver Marugg @ 2024-02-12 23:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi 

Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this?

Greets Oliver


Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1:
----
context --version
mtx-context     | ConTeXt Process Management 1.05
mtx-context     |
mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2024.01.24 22:39
mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2024.01.24 22:39
------

Stripped down MWE:

\setuppapersize[A4] [A4] 
\starttext
\completecontent[criterium=all]
% ToC
\page
\chapter{CHAP 1}
TEXT
\startbackmatter
\startchapter[title=Literature]
\placelistofpublications
\stopchapter
\stopbackmatter
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Section numbering does not work
  2024-02-12 23:17 [NTG-context] Section numbering does not work Oliver Marugg
@ 2024-02-13  8:29 ` Taco Hoekwater
  2024-02-13 13:24   ` Oliver Marugg
  2024-02-13 15:54 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2024-02-13  8:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 13 Feb 2024, at 00:17, Oliver Marugg <rauricastone@gmail.com> wrote:
> 
> Hi 
> 
> Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this?

IIRC :

\setupsectionblock[backpart][number=yes]

Best wishes,
Taco

> Greets Oliver
> 
> 
> Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1:
> ----
> context --version
> mtx-context     | ConTeXt Process Management 1.05
> mtx-context     |
> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> mtx-context     | current version: 2024.01.24 22:39
> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
> mtx-context     | current version: 2024.01.24 22:39
> ------
> 
> Stripped down MWE:
> 
> \setuppapersize[A4] [A4] 
> \starttext
> \completecontent[criterium=all]
> % ToC
> \page
> \chapter{CHAP 1}
> TEXT
> \startbackmatter
> \startchapter[title=Literature]
> \placelistofpublications
> \stopchapter
> \stopbackmatter
> \stoptext
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________

— 
Taco Hoekwater              E: taco@bittext.nl
genderfluid (all pronouns)


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Section numbering does not work
  2024-02-13  8:29 ` [NTG-context] " Taco Hoekwater
@ 2024-02-13 13:24   ` Oliver Marugg
  0 siblings, 0 replies; 5+ messages in thread
From: Oliver Marugg @ 2024-02-13 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Many thanks Taco, that works indeed;-)


> Am 13.02.2024 um 09:29 schrieb Taco Hoekwater <taco@bittext.nl>:
> 
> 
> 
>> On 13 Feb 2024, at 00:17, Oliver Marugg <rauricastone@gmail.com> wrote:
>> 
>> Hi 
>> 
>> Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this?
> 
> IIRC :
> 
> \setupsectionblock[backpart][number=yes]
> 
> Best wishes,
> Taco
> 
>> Greets Oliver
>> 
>> 
>> Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1:
>> ----
>> context --version
>> mtx-context     | ConTeXt Process Management 1.05
>> mtx-context     |
>> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>> mtx-context     | current version: 2024.01.24 22:39
>> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
>> mtx-context     | current version: 2024.01.24 22:39
>> ------
>> 
>> Stripped down MWE:
>> 
>> \setuppapersize[A4] [A4] 
>> \starttext
>> \completecontent[criterium=all]
>> % ToC
>> \page
>> \chapter{CHAP 1}
>> TEXT
>> \startbackmatter
>> \startchapter[title=Literature]
>> \placelistofpublications
>> \stopchapter
>> \stopbackmatter
>> \stoptext
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
>> archive  : https://github.com/contextgarden/context
>> wiki     : https://wiki.contextgarden.net
>> ___________________________________________________________________________________
> 
> — 
> Taco Hoekwater              E: taco@bittext.nl
> genderfluid (all pronouns)
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Section numbering does not work
  2024-02-12 23:17 [NTG-context] Section numbering does not work Oliver Marugg
  2024-02-13  8:29 ` [NTG-context] " Taco Hoekwater
@ 2024-02-13 15:54 ` Wolfgang Schuster
  2024-02-13 15:57   ` Oliver Marugg
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2024-02-13 15:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Oliver Marugg

Oliver Marugg schrieb am 13.02.2024 um 00:17:
> Hi
> 
> Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this?
> 
> Greets Oliver
> 
> 
> Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1:
> ----
> context --version
> mtx-context     | ConTeXt Process Management 1.05
> mtx-context     |
> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> mtx-context     | current version: 2024.01.24 22:39
> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
> mtx-context     | current version: 2024.01.24 22:39
> ------
> 
> Stripped down MWE:
> 
> \setuppapersize[A4] [A4]
> \starttext
> \completecontent[criterium=all]
> % ToC
> \page
> \chapter{CHAP 1}
> TEXT
> \startbackmatter
> \startchapter[title=Literature]
> \placelistofpublications
> \stopchapter
> \stopbackmatter
> \stoptext

Besides enabling numbering for the backpart you can use the appendix 
block which has numbering by default.

%\defineconversionset[appendix:default][n]

\starttext

\startfrontmatter
   \completecontent[criterium=all]
\stopfrontmatter

\startbodymatter
   \startchapter[title=CHAP 1]
   TEXT
   \stopchapter
\stopbodymatter

\startappendices
   \startchapter[title=Literature]
   \placelistofpublications
   \stopchapter
\stopappendices

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Section numbering does not work
  2024-02-13 15:54 ` Wolfgang Schuster
@ 2024-02-13 15:57   ` Oliver Marugg
  0 siblings, 0 replies; 5+ messages in thread
From: Oliver Marugg @ 2024-02-13 15:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 13.02.2024 um 16:54 schrieb Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:
> 
> Oliver Marugg schrieb am 13.02.2024 um 00:17:
>> Hi
>> Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this?
>> Greets Oliver
>> Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1:
>> ----
>> context --version
>> mtx-context     | ConTeXt Process Management 1.05
>> mtx-context     |
>> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkiv/context.mkiv
>> mtx-context     | current version: 2024.01.24 22:39
>> mtx-context     | main context file: /Applications/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
>> mtx-context     | current version: 2024.01.24 22:39
>> ------
>> Stripped down MWE:
>> \setuppapersize[A4] [A4]
>> \starttext
>> \completecontent[criterium=all]
>> % ToC
>> \page
>> \chapter{CHAP 1}
>> TEXT
>> \startbackmatter
>> \startchapter[title=Literature]
>> \placelistofpublications
>> \stopchapter
>> \stopbackmatter
>> \stoptext
> 
> Besides enabling numbering for the backpart you can use the appendix block which has numbering by default.
> 
> %\defineconversionset[appendix:default][n]
> 
> \starttext
> 
> \startfrontmatter
>  \completecontent[criterium=all]
> \stopfrontmatter
> 
> \startbodymatter
>  \startchapter[title=CHAP 1]
>  TEXT
>  \stopchapter
> \stopbodymatter
> 
> \startappendices
>  \startchapter[title=Literature]
>  \placelistofpublications
>  \stopchapter
> \stopappendices
> 
> \stoptext
> 
> Wolfgang



Thanks Wolfgang for your practical hint. 

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-02-13 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-12 23:17 [NTG-context] Section numbering does not work Oliver Marugg
2024-02-13  8:29 ` [NTG-context] " Taco Hoekwater
2024-02-13 13:24   ` Oliver Marugg
2024-02-13 15:54 ` Wolfgang Schuster
2024-02-13 15:57   ` Oliver Marugg

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