\setuphead[ownnumber=yes]; disabling parental numbers
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@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
Am 01.03.2011 um 18:09 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
what exactly should the "ownnumber=yes|no" option do in \setuphead?
It disables the automatic numbering to allow you set your own number. \definehead[topic][section] \setuphead [topic][ownnumber=yes] \starttext \section{Section} \topic{3}{Topic} \stoptext
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:
\setuphead[subsection][sectionsegments=subsection] Wolfgang
... Works perfectly, thanks a lot! Lukas
what exactly should the "ownnumber=yes|no" option do in \setuphead?
It disables the automatic numbering to allow you set your own number.
\definehead[topic][section] \setuphead [topic][ownnumber=yes]
\starttext \section{Section} \topic{3}{Topic} \stoptext
Is it possible to disable parental numbers?
\setuphead[subsection][sectionsegments=subsection]
Wolfgang
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
participants (2)
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster