ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Letters in the first level head instead of numbers
@ 2011-02-25 13:14 Procházka Lukáš Ing. - Pontex s. r. o.
  2011-02-26  9:17 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-02-25 13:14 UTC (permalink / raw)
  To: ConTeXt

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

___________________________________________________________________________________
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: Letters in the first level head instead of numbers
  2011-02-25 13:14 Letters in the first level head instead of numbers Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-02-26  9:17 ` Wolfgang Schuster
  2011-02-28  7:24   ` Letters in head; disabling parental numbers Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-02-26  9:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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: Letters in head; disabling parental numbers
  2011-02-26  9:17 ` Wolfgang Schuster
@ 2011-02-28  7:24   ` 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-02-28  7:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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-02-28  7:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-25 13:14 Letters in the first level head instead of numbers Procházka Lukáš Ing. - Pontex s. r. o.
2011-02-26  9:17 ` Wolfgang Schuster
2011-02-28  7:24   ` Letters in head; disabling parental numbers 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).