ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Am not getting Roman numeral page numbers in MKIV
@ 2011-03-12  8:35 Jeong Dalyoung
  2011-03-12 13:46 ` Tom
  0 siblings, 1 reply; 9+ messages in thread
From: Jeong Dalyoung @ 2011-03-12  8:35 UTC (permalink / raw)
  To: ntg-context

Dear Tom,

Since I am an enduser of ConTeXt, I couldn't expalin what happens here.
 I just run your code in the mail and got the following results.

> 
> 1. Front matter page numbers are not lower-case Roman numerals although they
> are listed as such in the TOC.

The Roman numerals in both front part and in TOC.
 
> 2. The Introduction is not listed in the TOC.

Same as your output. No 

> 3. Page numbering isn't reset to 1 in the bodymatter section.
> 
Same as you, but if I change \startstructureblockenvironment[bodymatter] to \startstructureblockenvironment[bodypart], then Introduction starts from page 1.
So I guess that there are something between [bodymatter] and [bodypart].

best regards,

Dalyoung

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.1380.1299938867.4223.ntg-context@ntg.nl>]
* Re: Am not getting Roman numeral page numbers in MKIV
@ 2011-03-11  5:00 Jeong Dalyoung
  2011-03-11 13:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Jeong Dalyoung @ 2011-03-11  5:00 UTC (permalink / raw)
  To: ntg-context

Dear Tom,

Please add following lines in the preamble, then you will get roman numerals.

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]

Also I use \startstructureblockenvironment[backpart] instead of \startsectionblockenvironment[backmatter].

cheers, and enjoy ConTeXt!


Dalyoung
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Am not getting Roman numeral page numbers in MKIV
@ 2011-03-10 21:37 Tom
  0 siblings, 0 replies; 9+ messages in thread
From: Tom @ 2011-03-10 21:37 UTC (permalink / raw)
  To: ntg-context

The following code is intended to produce lower-case Roman numeral page
numbers for the first 3 pages before switching to Hindu-Arabic numerals
starting with the Introduction. However, I get Hindu-Arabic numerals instead
of the lower-case Roman numerals page numbers.

\definehead [intro][chapter]
\setuphead  [intro][number=no]

\setuppagenumbering
     [state=start, 
      conversion=romannumerals, location=bottom]

\startsectionblockenvironment[frontpart]

\definecombinedlist [content][intro,chapter,section]

\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]

\stopsectionblockenvironment

\startsectionblockenvironment[backmatter]

\stopsectionblockenvironment

\starttext 
\setuppagenumber[state=start]

\startfrontmatter

%sample front matter
\input knuth

\completecontent[alternative=c,criterium=all]

\chapter{Preface}
\input knuth

\stopfrontmatter

\startbodymatter

\setuppagenumber[state=start,conversion=number,number=1]

\intro{Introduction}
\input knuth

\setupheadnumber[chapter][0] %resets first chapter number to 1

\chapter{I Was Born}
\input knuth

\chapter{I Observe}
\input knuth

\stopbodymatter

\startbackmatter

\stopbackmatter

\stoptext


Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-03-13 12:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-12  8:35 Am not getting Roman numeral page numbers in MKIV Jeong Dalyoung
2011-03-12 13:46 ` Tom
     [not found] <mailman.1380.1299938867.4223.ntg-context@ntg.nl>
2011-03-13 12:49 ` Jeong Dalyoung
  -- strict thread matches above, loose matches on Subject: below --
2011-03-11  5:00 Jeong Dalyoung
2011-03-11 13:28 ` Wolfgang Schuster
2011-03-11 15:17   ` Tom
2011-03-11 17:06     ` Wolfgang Schuster
2011-03-11 18:04       ` Tom
2011-03-10 21:37 Tom

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