[NTG-context] How to start every new chapter on page 1!?

Verhaag, G.C.H.M. verhaaggchm at ziggo.nl
Tue Feb 21 20:03:45 CET 2012


On 02/21/2012 07:41 PM, Wolfgang Schuster wrote:
> Am 21.02.2012 um 19:34 schrieb Verhaag, G.C.H.M.:
>
>    
>> On 02/21/2012 06:34 PM, Wolfgang Schuster wrote:
>>      
>>> Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.:
>>>
>>>
>>>        
>>>> Hi ConTeXt Users,
>>>>
>>>> I'd like to start every chapter on page one. The footer should contain the chapter number followed by the page number. So page three of chapter 10, should read something like 10-3.
>>>>
>>>> I was thinking way=bychapter in the \setuppagenumbering command would do the trick. However I see no change at all when changing the way parameter from the default mypart to mychapter!
>>>>
>>>> Anybody any hint on this issue? Thanks in advance!
>>>>
>>>>          
>>> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
>>>
>>> Wolfgang
>>> ....
>>>
>>>
>>>        
>> Hi,
>>
>> Well, here is a minimal example which doesn't yield the expected result:
>>
>> \setuppagenumbering[way=bychapter,chapternumber=yes]
>>      
> \setuppagenumber[way=bychapter,prefix=yes,prefixset=chapter]
>
> Wolfgang
> ....
>    

Hi Wolfgang,

Thanks for your prompt answer and solution to the problem. But something 
keeps still bothering me!

According to the command reference description of the \setuppagenumber 
the way, prefix and  prefixset options are not mentioned at all! The 
\setuppagenumbering command description contains the way option, but NOT 
the prefix and prefixset option.

Is the command reference (wiki and pdf ) not up-to-date when it comes to 
MkIV applications, or do I miss a very important point here?

By the way, what is the actual difference between the setuppagenumber- 
and setuppagenumbering command anyway?

Regards,
Gerard Verhaag


More information about the ntg-context mailing list