ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Roman Page numbers
Date: Sun, 6 Sep 2009 10:31:35 +0200	[thread overview]
Message-ID: <dbd60a1b0909060131n5cc2162fg40bcbeae769a378f@mail.gmail.com> (raw)


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

On Sat, Sep 5, 2009 at 10:42 PM, Derek CORDEIRO <derekcordeiro@gmail.com>
wrote

>
>
> Thanks a lot, it works as required. I added a note to the wiki
> "Table_of_Contents" page.
>
> On Fri, Sep 4, 2009 at 3:36 PM, Wolfgang Schuster <
> schuster.wolfgang@googlemail.com> wrote:
>
> >
> > Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
> >
> >  I do get romannumerals on each page now, but this is not reflected in
> the
> >> TOC as it does in MkII. Below is the minimal example.
> >>
> >
> > The new code is more complicated than i thought, here is solution to the
> > problem.
> >
> > As Hans suggested we should collect such setups on the wiki.
> >
> > \definestructureconversionset[frontpart:pagenumber][][romannumerals]
> > \definestructureconversionset[bodypart:pagenumber] [][numbers]
> >
> > \setuplist[chapter][pageconversionset=pagenumber]
> >
> > \startstructureblockenvironment[frontpart]
> >
> > \setupuserpagenumber[numberconversion=romannumerals]
> > \setuppagenumber[number=1]
> >
> > \stopstructureblockenvironment
> >
> > \startstructureblockenvironment[bodypart]
> >
> > \setuppagenumber[number=1]
> >
> > \stopstructureblockenvironment
> >
> > \starttext
> >
> > \startfrontmatter
> >
> > \completecontent[criterium=all]
> >
> > \chapter{Intro}
> >
> > \input tufte
> >
> > \stopfrontmatter
> >
> > \startbodymatter
> >
> > \chapter{knuth}
> >
> > \input knuth
> >
> > \stopbodymatter
> >
> > \stoptext
> >
> > Wolfgang
> >
>

This is odd.
On my system (both MacTeX 2008 and ConTeXt minimals) this does not work
properly.
The Roman numbers appear in the TOC but not on the textpages themselves.
Furthermore, after the frontmatter the page numbers should start again with
1 (at least that is what I think) but they just continue (i.c. with 3).
The previous TeX-file, in ntg-context Digest, Vol 63, Issue 6, message 6,
showed almost the reverse, i.e. Roman numbers on the pages but not in the
TOC but the body matter starting correctly on page 1.
So if the present setup works correctly for Derek, why would it be it
different on my system and what can I do about it?
Sorry for intruding but this topic is important for me.
Regards,
Robert Blackstone

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

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

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2009-09-06  8:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06  8:31 Robert Blackstone [this message]
2009-09-06  8:43 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2010-08-12  1:52 Roman page numbers Hongwen Qiu
2010-08-12  3:08 ` Wolfgang Schuster
2010-08-12  3:35   ` Hongwen Qiu
2010-08-12 16:21     ` Wolfgang Schuster
2010-08-13  1:37       ` Hongwen Qiu
2009-09-06 13:25 Roman Page numbers Robert Blackstone
2009-09-06 13:32 ` luigi scarso
2009-09-03 13:30 Derek CORDEIRO
2009-09-03 20:37 ` Wolfgang Schuster
2009-09-04  9:03   ` Derek CORDEIRO
2009-09-04 10:06     ` Wolfgang Schuster
2009-09-05 14:48       ` Derek CORDEIRO
2009-09-05 20:49         ` Hans Hagen

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=dbd60a1b0909060131n5cc2162fg40bcbeae769a378f@mail.gmail.com \
    --to=blackstone.robert@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).