ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chapter A
@ 2000-06-21  9:31 Michal Kvasnicka
  2000-06-21 10:03 ` Berend de Boer
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Kvasnicka @ 2000-06-21  9:31 UTC (permalink / raw)


Hello!

How can I set the ConTeXt heads to be numbered with leteres, e.g.
    A. Chapter one
or
    b. section two
?

Many thanks
M.K.

--
Economics is the only field in which two people can get a Nobel Prize
for saying exactly the opposite things.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Chapter A
  2000-06-21  9:31 Chapter A Michal Kvasnicka
@ 2000-06-21 10:03 ` Berend de Boer
  2000-06-21 12:42   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Berend de Boer @ 2000-06-21 10:03 UTC (permalink / raw)


I'm not aware of a setup that does this, but you can try your own
formatting:

\setuphead
	[chapter]
	[command=\MyChapter]

\def\MyChapter#1#2%
	{\ifcase#1{zero{\or{one}\or{two}...\fi #2}

or something like that.

There is also a numbercommand setting that perhaps does only the number
formatting, but I've never it.

Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Chapter A
  2000-06-21 10:03 ` Berend de Boer
@ 2000-06-21 12:42   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2000-06-21 12:42 UTC (permalink / raw)
  Cc: ntg-context

At 12:03 PM 6/21/00 +0200, Berend de Boer wrote:
>I'm not aware of a setup that does this, but you can try your own
>formatting:
>
>\setuphead
>	[chapter]
>	[command=\MyChapter]
>
>\def\MyChapter#1#2%
>	{\ifcase#1{zero{\or{one}\or{two}...\fi #2}
>
>or something like that.
>
>There is also a numbercommand setting that perhaps does only the number
>formatting, but I've never it.

Ah, something berend does not know. Then the manual must be real bad. 

\setupsection
  [sectionlevel-2]
  [appendixconversion=greek]

For chinese we have for instance: 

\setupsection [sectionlevel-1] [headconversion=chinese]
\setupsection [sectionlevel-2] [appendixconversion=]

if one uses the section blocks (frontmatter, etc) division,  appendices are
getting A B C automatically. 

Hans

-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-21 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-21  9:31 Chapter A Michal Kvasnicka
2000-06-21 10:03 ` Berend de Boer
2000-06-21 12:42   ` Hans Hagen

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).