[NTG-context] subpagenumber starts at 2
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 ___ 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 ___
[NTG-context] subpagenumber starts at 2
subpagenumber starts at 2 instead of 1. Perhaps I missed a new way to do this. Thanks! mjg This is LuaTeX, Version beta-0.47.0-2009121823 ConTeXt ver: 2009.12.18 11:12 MKIV fmt: 2009.12.21 int: english/ english \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 ___ 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 ___
Re: [NTG-context] subpagenumber starts at 2
Am 23.12.2009 um 18:46 schrieb Michael Green: subpagenumber starts at 2 instead of 1. Perhaps I missed a new way to do this. Thanks! mjg This is LuaTeX, Version beta-0.47.0-2009121823 ConTeXt ver: 2009.12.18 11:12 MKIV fmt: 2009.12.21 int: english/english \setupheadertexts[\subpagenumber\ -- \nofsubpages] \setupsubpagenumber[way=bytext,state=start] \setupsubpagenumber[way=bytext,state=start,number=1] Only the first set is now wrong, the others are correct. Wolfgang ___ 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 ___
Re: [NTG-context] subpagenumber starts at 2
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) -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___