ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Roman numerals in headers
@ 2006-10-26 15:44 Jeff Smith
  2006-10-26 17:11 ` Aditya Mahajan
  2006-10-26 23:57 ` Marcus Vinicius Mesquita de So
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Smith @ 2006-10-26 15:44 UTC (permalink / raw)


Hi again,

I've been searching through various docs in order to find how I can
have roman numbering with headers (namely, chapter titles), but I've
been unsuccessful. I'm sure it's possible! How does one do it?

Thank you in advance,
Jeff

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

* Re: Roman numerals in headers
  2006-10-26 15:44 Roman numerals in headers Jeff Smith
@ 2006-10-26 17:11 ` Aditya Mahajan
  2006-10-27  0:04   ` Jeff Smith
  2006-10-26 23:57 ` Marcus Vinicius Mesquita de So
  1 sibling, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2006-10-26 17:11 UTC (permalink / raw)


On Thu, 26 Oct 2006, Jeff Smith wrote:

> Hi again,
>
> I've been searching through various docs in order to find how I can
> have roman numbering with headers (namely, chapter titles), but I've
> been unsuccessful. I'm sure it's possible! How does one do it?


\setupsection[section-2][bodypartconversion=Romannumerals]

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

etc.

Aditya

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

* Re: Roman numerals in headers
  2006-10-26 15:44 Roman numerals in headers Jeff Smith
  2006-10-26 17:11 ` Aditya Mahajan
@ 2006-10-26 23:57 ` Marcus Vinicius Mesquita de So
  1 sibling, 0 replies; 4+ messages in thread
From: Marcus Vinicius Mesquita de So @ 2006-10-26 23:57 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 737 bytes --]

\setupsection[chapter][conversion=Romannumerals]

(you get I, II, III, IV... )

or

\setupsection[chapter][conversion=romannumerals]

(you get i, ii, iii, iv ... )

Marcus

Jeff Smith <ascarel@gmail.com> wrote: Hi again,

I've been searching through various docs in order to find how I can
have roman numbering with headers (namely, chapter titles), but I've
been unsuccessful. I'm sure it's possible! How does one do it?

Thank you in advance,
Jeff
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

[-- Attachment #1.2: Type: text/html, Size: 1007 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Roman numerals in headers
  2006-10-26 17:11 ` Aditya Mahajan
@ 2006-10-27  0:04   ` Jeff Smith
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Smith @ 2006-10-27  0:04 UTC (permalink / raw)


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

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

end of thread, other threads:[~2006-10-27  0:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 15:44 Roman numerals in headers Jeff Smith
2006-10-26 17:11 ` Aditya Mahajan
2006-10-27  0:04   ` Jeff Smith
2006-10-26 23:57 ` Marcus Vinicius Mesquita de So

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