[NTG-context] Roman numerals in headers

Jeff Smith ascarel at gmail.com
Fri Oct 27 02:04:45 CEST 2006


On 10/26/06, Aditya Mahajan <adityam at umich.edu> wrote:

> section-1 is parts
> section-2 is chapter/title
> section-3 is section
>

Oh, God, page 146 of the manual! I must have been blind or something,
I'm truly sorry... Thanks for the reply though. :(

That being said, I now have a problem with the separator. I want to
use a different separator between chapter and section (-), and between
section and subsection (.).

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.

Am I clear as to what  I'd like to do? Is there a way to do it?

Thank you in advance, as always!
Jeff


More information about the ntg-context mailing list