From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Oliver Marugg <rauricastone@gmail.com>
Subject: [NTG-context] Re: Section numbering does not work
Date: Tue, 13 Feb 2024 16:54:35 +0100 [thread overview]
Message-ID: <c8ea8dfa-4d7b-dbc1-3d1a-cf35c730f1bf@gmail.com> (raw)
In-Reply-To: <4FBED94B-30E1-436E-8D5F-5C25F398D453@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
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-02-13 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 23:17 [NTG-context] " 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 [this message]
2024-02-13 15:57 ` Oliver Marugg
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=c8ea8dfa-4d7b-dbc1-3d1a-cf35c730f1bf@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=rauricastone@gmail.com \
/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).