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



\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: essai.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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 via email to