ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Amaël Broustet" <context@amael.net>
To: ntg-context@ntg.nl
Subject: subsection numbering
Date: Sat, 23 May 2009 22:04:30 +0200	[thread overview]
Message-ID: <1243109070.16542.51.camel@cirspec> (raw)

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

Dear all,

I got a problem with the numbering of subsections :

they are numbered using the \currentheadnumber of the heading containing
the \subsection

attached an example and the output.

in the log, I get :

structure       : chapter @ level 2 : 0.1 -> Chapter
structure       : section @ level 3 : 0.1.1 -> Section
structure       : subsection @ level 4 : 0.1.1.1 -> Subsection
structure       : subsection @ level 4 : 0.1.1.2 -> Subsection
[2.2]
structure       : chapter @ level 2 : 0.2 -> Chapter
structure       : subsection @ level 4 : 0.2.0.1 -> Subection
structure       : subsection @ level 4 : 0.2.0.2 -> Subsection
[3.3]


best,
Amaël




[-- Attachment #2: essai.tex --]
[-- Type: text/x-tex, Size: 668 bytes --]

\starttext

\section{Section}
\char`\\{}currentheadnumber : \currentheadnumber

\subsection{Subsection}
\char`\\{}currentheadnumber : \currentheadnumber

\chapter{Chapter}


\char`\\{}currentheadnumber : \currentheadnumber


\section{Section}

\char`\\{}currentheadnumber : \currentheadnumber

\subsection{Subsection}

\char`\\{}currentheadnumber : \currentheadnumber
 

\subsection{Subsection}

\char`\\{}currentheadnumber : \currentheadnumber
\chapter{Chapter}
\char`\\{}currentheadnumber : \currentheadnumber

\subsection{Subection}
\char`\\{}currentheadnumber : \currentheadnumber
\subsection{Subsection}
\char`\\{}currentheadnumber : \currentheadnumber

\stoptext

[-- Attachment #3: essai.pdf --]
[-- Type: application/pdf, Size: 6402 bytes --]

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2009-05-23 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 20:04 Amaël Broustet [this message]
2009-05-27 14:38 ` Hans Hagen
2009-05-27 16:04   ` Amaël Broustet

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=1243109070.16542.51.camel@cirspec \
    --to=context@amael.net \
    --cc=ntg-context@ntg.nl \
    /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).