ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jeff Smith" <ascarel@gmail.com>
Subject: Re: Roman numerals in headers
Date: Thu, 26 Oct 2006 20:04:45 -0400	[thread overview]
Message-ID: <2e8813a0610261704j53885879qc9eb8bf42aa39b2d@mail.gmail.com> (raw)
In-Reply-To: <Pine.WNT.4.63.0610261310390.328@nqvgln>

On 10/26/06, Aditya Mahajan <adityam@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

  reply	other threads:[~2006-10-27  0:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-26 15:44 Jeff Smith
2006-10-26 17:11 ` Aditya Mahajan
2006-10-27  0:04   ` Jeff Smith [this message]
2006-10-26 23:57 ` Marcus Vinicius Mesquita de So

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e8813a0610261704j53885879qc9eb8bf42aa39b2d@mail.gmail.com \
    --to=ascarel@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).