[NTG-context] \setuphead[ownnumber=yes]; disabling parental numbers

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Tue Mar 1 18:09:27 CET 2011


Hello,

what exactly should the "ownnumber=yes|no" option do in \setuphead?

The following code crashes Ctx:

---
%\setuphead[subsection][number=no] % OK
\setuphead[subsection][ownnumber=yes] % ERROR

\starttext
   \chapter{Ch1}
     \section{Sec1}
       \subsection{SSec1}
\stoptext
---

Is it possible to disable parental numbers? - To get sequence like this:

A. ChapterA
B. ChapterB
B.1 Section1
B.2 Section2
1 Subsection1 (no parental numbers here [= B.2], only those of subsection)
2 Subsection2

I tried:

\setuphead[subsection,subsubject][number=no,ownnumber=yes]

hoping this should do the job but it didn't; at least problem with "ownnumber=yes".

Any idea?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr at pontex.cz]
Pontex s. r. o.      [mailto:pontex at pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038



More information about the ntg-context mailing list