ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: Frontmatter setup
Date: Tue, 28 Mar 2006 21:11:59 +0200	[thread overview]
Message-ID: <ops640x9qm9niby6@localhost> (raw)
In-Reply-To: <4427AF96.6030102@elvenkind.com>

On Mon, 27 Mar 2006 11:25:42 +0200, Taco Hoekwater <taco@elvenkind.com>  
wrote:

> nico wrote:
>> Hello,
>>
>> Is there a \setup... command to configure the frontmatter section  
>> block? I
>> haven't found a clear information about this.
>
> You can put your setup in the 'before', like so:
>
>    \setupsectionblock
>       [frontmatter]
>       [before={\setuppagenumbering[conversion=romannumerals]}]

It does nothing. In this example the TOC and Preamble section still have  
default numbering:

% to have page numbers in roman in frontmatter
\setupsectionblock
       [frontmatter]
       [before={\setuppagenumbering[conversion=romannumerals]}]

\starttext

\startfrontmatter
\completecontent

\chapter{Preamble}
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
\stopfrontmatter

\startbodymatter

\chapter{A body chapter}
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah

\stopbodymatter

\stoptext

But, of course, doing this works:
...
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent

\chapter{Preamble}
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
\stopfrontmatter
...

Regards,
BG

  parent reply	other threads:[~2006-03-28 19:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-26 16:09 nico
2006-03-27  9:25 ` Taco Hoekwater
2006-03-28  0:19   ` frantisek holop
2006-03-28  0:38     ` frantisek holop
2006-03-28 15:01       ` Willi Egger
2006-03-28 19:11   ` nico [this message]
2006-03-28 21:30     ` frantisek holop
2006-03-29  7:45       ` Taco Hoekwater
2006-03-29 23:09         ` nico

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=ops640x9qm9niby6@localhost \
    --to=nicolas.marsgui@libertysurf.fr \
    --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).