ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Header number separator
@ 2006-11-07 19:43 Jeff Smith
  2006-11-07 21:42 ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Jeff Smith @ 2006-11-07 19:43 UTC (permalink / raw)


Hi,

Some time ago I had a query on the list about roman numbering in
headers. Once I got my answer, I asked something else relatively
unrelated but in the same thread. It's probably bad etiquette, so I
figure that is why it has remained unheeded. I'd like to submit my
second query again.

I have a problem with the separator in header numbers. I want to
use a different separator between chapter and section numbers (-), than between
section and subsection numbers (.).

So, assuming I'm using roman numerals for chapters, I'd like numering
of sections to be I-1, I-2, I-3, etc., of subsections to be I-1.1,
I-1.2, I-2.1, I-2.2, I-2.3, etc.

Now when I use \setuphead for section and subsection blocks with
different [separator=] attributes:

\setuphead[section][separator=-]
\setuphead[subsection][separator=.]

... it defines the separator for the _whole_ header level, not the
number position within any relevant header. So I get this instead:

sections are numbered I-1, I-2, I-3, etc.
subsections are numbered I.1.1, 1.1.2, I.2.1, I.2.2, I.2.3, etc.

Is there a way to achieve what I want to do?

Thanks!
Jeff

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

end of thread, other threads:[~2006-11-16  1:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-07 19:43 Header number separator Jeff Smith
2006-11-07 21:42 ` Aditya Mahajan
2006-11-07 22:22   ` Aditya Mahajan
2006-11-09 16:54     ` Jeff Smith
2006-11-09 18:39       ` Aditya Mahajan
2006-11-14 11:33       ` Hans Hagen
2006-11-14 16:53         ` Aditya Mahajan
2006-11-14 16:57           ` Hans Hagen
2006-11-15 15:38           ` Hans Hagen
2006-11-16  1:14             ` Aditya Mahajan

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