[NTG-context] \setnumber

Werner Hintze we.hintze at gmail.com
Thu May 22 12:24:58 CEST 2014


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 at 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 at 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 at 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
> ___________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140522/754c37ab/attachment.html>


More information about the ntg-context mailing list