ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Suppress the Chapter Number in the Section Numbering
@ 2024-03-19 19:35 Jeroen
  2024-03-19 20:14 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jeroen @ 2024-03-19 19:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 303 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 391 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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] 2+ messages in thread

* [NTG-context] Re: Suppress the Chapter Number in the Section Numbering
  2024-03-19 19:35 [NTG-context] Suppress the Chapter Number in the Section Numbering Jeroen
@ 2024-03-19 20:14 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2024-03-19 20:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jeroen

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
___________________________________________________________________________________

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

end of thread, other threads:[~2024-03-19 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19 19:35 [NTG-context] Suppress the Chapter Number in the Section Numbering Jeroen
2024-03-19 20:14 ` [NTG-context] " Wolfgang Schuster

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