Jeroen schrieb am 19.03.2024 um 20:35:
I am trying to suppress the chapter number in a section number as
below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way
to achieve this?
1. The First Chapter
1. The First Section
...
2. The Second Section
...
2. The Second Chapter
1. The Third Section
...
2. The Fourth Section
...
\setuphead
[chapter]
[sectionstopper=.]
\setuphead
[section]
[sectionsegments=section,
sectionstopper=.]
\starttext
\chapter{The First Chapter}
\section{The First Section}
\section{The Second Section}
\chapter{The Second Chapter}
\section{The Third Section}
\section{The Fourth Section}
\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
___________________________________________________________________________________