On Dec 23, 2009, at 1:21 PM, Hans Hagen wrote:
On 23-12-2009 19:04, Wolfgang Schuster wrote:
\setupheadertexts[\subpagenumber\ -- \nofsubpages]
\setupsubpagenumber[way=bytext,state=start]
\setupsubpagenumber[way=bytext,state=start,number=1]
fixed in next beta (hopefully)
--
It's not quite there yet (though it now does what I need it to do -- thanks!) Using LuaTeX, Version beta-0.47.0-2009121822 ConTeXt ver: 2009.12.24 17:55 MKIV fmt: 2009.12.24 int: english/ english 1. If I include number=1, the sequence goes like this: subpage 1, realpage 1: <blank> - 3 subpage 2, realpage 2: 1 - 3 subpage 3, realpage 3: 2 - 3 subpage 1, realpage 4: <blank> - 3 subpage 2, realpage 5: 1 - 3 subpage 3, realpage 6: 2 - 3 subpage 1, realpage 7: <blank> - 3 subpage 2, realpage 8: 1 - 3 subpage 3, realpage 9: 2 - 3 \setupheadertexts[\subpagenumber\ -- \nofsubpages] \setupsubpagenumber[way=bytext,state=start,number=1] \def\MakeThreePages{This is the first of three subpages.\page This is the second of three subpages.\page This is the third of three subpages. \page \resetsubpagenumber} \starttext \dorecurse{3}{\MakeThreePages} \stoptext 2. If I take number=1 out, it goes like this: subpage 1, realpage 1: 1 - 4 subpage 2, realpage 2: 2 - 4 subpage 3, realpage 3: 3 - 4 subpage 1, realpage 4: 1 - 4 subpage 2, realpage 5: 2 - 4 subpage 3, realpage 6: 3 - 4 subpage 1, realpage 7: 1 - 4 subpage 2, realpage 8: 2 - 4 subpage 3, realpage 9: 3 - 4 \setupheadertexts[\subpagenumber\ -- \nofsubpages] \setupsubpagenumber[way=bytext,state=start] \def\MakeThreePages{This is the first of three subpages.\page This is the second of three subpages.\page This is the third of three subpages. \page \resetsubpagenumber} \starttext \dorecurse{3}{\MakeThreePages} \stoptext