Letters in the first level head instead of numbers
Hello, maybe already questioned in the past, but I cannot find the answer: How to change the numbering style for a particular head (e.g. section) from numbers (1, 2...) to letters (A, B...) - which option and value (http://wiki.contextgarden.net/Reference/en/setuphead)? Thank you in advance. Kind 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 25.02.2011 um 14:14 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
maybe already questioned in the past, but I cannot find the answer:
How to change the numbering style for a particular head (e.g. section) from numbers (1, 2...) to letters (A, B...) - which option and value (http://wiki.contextgarden.net/Reference/en/setuphead)?
% old method %\setuphead[chapter][conversion=Character] % new method \definestructureconversionset[myconversion][numbers,Characters][numbers] \setupheads[sectionconversionset=myconversion] \starttext \chapter{Knuth} \input knuth \stoptext Wolfgang
Hello, thank you for the piece of code.
\definestructureconversionset[myconversion][numbers,Characters][numbers] \setupheads[sectionconversionset=myconversion]
Could you describe the meaning of the second and the third parameter? I found only this on wiki (http://wiki.contextgarden.net/Table_of_Contents), but this is not a full description. Another question - is it possible to hide (don't display) parental numbers in a head? I'd need to get the following sequence: A. PartA B. PartB B.1 Section1 B.2 Section2 1 Subsection1 - Here the chapter and section numbers are to be omitted 2 Subsection2 I tried: \setuphead[subsection,subsubject][number=no,ownnumber=yes] But "number=no" disables the number completely (as expected) and "ownnumber=yes" causes an Ctx error. So is there another way? BTW: I'm not typesetting "normal" (book-like) text, but I' generating some tree-like lists of documentation. And the kind how heads look is given a priori. Thanks in advance. 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
participants (2)
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster