ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Werner Hintze" <we.hintze@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: \setnumber
Date: Thu, 22 May 2014 12:24:58 +0200	[thread overview]
Message-ID: <E62A255D-476A-471D-86B5-4A1D62A6B579@gmail.com> (raw)
In-Reply-To: <85BE3EF1-3288-4560-B83D-03840F1A0B03@gmail.com>


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

Thank you! This works.

But tell me: How do you know this? The manual and the website don’t 
explain it this way…

Best regards

Werner


On 22 May 2014, at 12:16, Otared Kavian wrote:

> Hi,
>
> In fact you should use
> 	\setupuserpagenumber[number=1]
> as in the following example:
>
> %%%% begin example
> \starttext
> \startfrontmatter
> \setupuserpagenumber[numberconversion=Romannumerals]
> \input knuth.tex
> \stopfrontmatter
>
> \startbodymatter
> \setupuserpagenumber[numberconversion=numbers]
> \setupuserpagenumber[number=1]
> \input ward.tex
> \stopbodymatter
> \stoptext
> %%%% end example
>
> Best regards: OK
>
> On 22 May 2014, at 11:37, Werner Hintze <we.hintze@gmail.com> wrote:
>
>> I don’t unterstand \startfrontmatter, \starbodymatter etc.
>>
>> I thought, the frontmatter has roman numerals, the bodymatter normal 
>> and so on. This is not automatically so. Now founf how to make this, 
>> bus the problem is: I can’t reset the page number. I believed, it 
>> shoul work like this:
>>
>> \startfrontmatter
>>  \setupuserpagenumber[numberconversion=Romannumerals]
>>  % some stuff
>> \stopfrontmatter
>>
>> \startbodymatter
>>  \setupuserpagenumber[numberconversion=numbers]
>>  \setnumber[page]{1}
>>  %some stuff
>> \stopbodymatter
>> This doesn’t work, may be because \setnumber is not a command in 
>> ConTeXt?
>>
>> Where is my error?
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-05-22 10:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22  9:37 \setnumber Werner Hintze
2014-05-22 10:16 ` \setnumber Otared Kavian
2014-05-22 10:24   ` Werner Hintze [this message]
2014-05-22 10:32     ` \setnumber Otared Kavian
2014-05-22 10:44       ` \setnumber Werner Hintze
2014-05-22 10:56         ` \setnumber Otared Kavian
2014-05-22 11:50           ` \setnumber Werner Hintze
2014-05-22 12:32             ` \setnumber Otared Kavian

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=E62A255D-476A-471D-86B5-4A1D62A6B579@gmail.com \
    --to=we.hintze@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).