* subsection numbering @ 2009-05-23 20:04 Amaël Broustet 2009-05-27 14:38 ` Hans Hagen 0 siblings, 1 reply; 3+ messages in thread From: Amaël Broustet @ 2009-05-23 20:04 UTC (permalink / raw) To: ntg-context [-- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: subsection numbering 2009-05-23 20:04 subsection numbering Amaël Broustet @ 2009-05-27 14:38 ` Hans Hagen 2009-05-27 16:04 ` Amaël Broustet 0 siblings, 1 reply; 3+ messages in thread From: Hans Hagen @ 2009-05-27 14:38 UTC (permalink / raw) To: mailing list for ConTeXt users Amaël Broustet wrote: > 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. whow ... \char`\\{}currentheadnumber easier ... \type{\currentheadnumber} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: subsection numbering 2009-05-27 14:38 ` Hans Hagen @ 2009-05-27 16:04 ` Amaël Broustet 0 siblings, 0 replies; 3+ messages in thread From: Amaël Broustet @ 2009-05-27 16:04 UTC (permalink / raw) To: mailing list for ConTeXt users Thanks for the tip ! Le mercredi 27 mai 2009 à 16:38 +0200, Hans Hagen a écrit : > Amaël Broustet wrote: > > 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. > > whow ... > > \char`\\{}currentheadnumber > > easier ... > > \type{\currentheadnumber} > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-27 16:04 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-05-23 20:04 subsection numbering Amaël Broustet 2009-05-27 14:38 ` Hans Hagen 2009-05-27 16:04 ` Amaël Broustet
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).