* \setuphead[ownnumber=yes]; disabling parental numbers @ 2011-03-01 17:09 Procházka Lukáš Ing. - Pontex s. r. o. 2011-03-01 17:15 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-03-01 17:09 UTC (permalink / raw) To: ConTeXt 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 ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setuphead[ownnumber=yes]; disabling parental numbers 2011-03-01 17:09 \setuphead[ownnumber=yes]; disabling parental numbers Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-03-01 17:15 ` Wolfgang Schuster 2011-03-02 7:32 ` Procházka Lukáš Ing. - Pontex s. r. o. 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2011-03-01 17:15 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setuphead[ownnumber=yes]; disabling parental numbers 2011-03-01 17:15 ` Wolfgang Schuster @ 2011-03-02 7:32 ` Procházka Lukáš Ing. - Pontex s. r. o. 0 siblings, 0 replies; 3+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-03-02 7:32 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: ddv [-- Attachment #1: Type: text/plain, Size: 662 bytes --] ... 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 [-- Attachment #2: t-Sec4.mkiv --] [-- Type: application/octet-stream, Size: 297 bytes --] \setuphead[subsection][sectionsegments=subsection] \definehead[topic][section] \setuphead [topic][ownnumber=yes] \starttext \chapter{Ch1} \section{Sec1} \section{Sec2} \subsection{SSec1} \subsection{SSec2} \section{Section} \topic{AAA}{Topic} \stoptext [-- Attachment #3: t-Sec4.pdf --] [-- Type: application/pdf, Size: 6305 bytes --] [-- Attachment #4: Type: text/plain, Size: 486 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-02 7:32 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-01 17:09 \setuphead[ownnumber=yes]; disabling parental numbers Procházka Lukáš Ing. - Pontex s. r. o. 2011-03-01 17:15 ` Wolfgang Schuster 2011-03-02 7:32 ` Procházka Lukáš Ing. - Pontex s. r. o.
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).