* subpagenumber starts at 2 [not found] <mailman.33.1261603299.4207.ntg-context@ntg.nl> @ 2009-12-24 18:58 ` Michael Green 0 siblings, 0 replies; 4+ messages in thread From: Michael Green @ 2009-12-24 18:58 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* subpagenumber starts at 2 @ 2009-12-23 17:46 Michael Green 2009-12-23 18:04 ` Wolfgang Schuster 0 siblings, 1 reply; 4+ messages in thread From: Michael Green @ 2009-12-23 17:46 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: subpagenumber starts at 2 2009-12-23 17:46 Michael Green @ 2009-12-23 18:04 ` Wolfgang Schuster 2009-12-23 21:02 ` Hans Hagen 0 siblings, 1 reply; 4+ messages in thread From: Wolfgang Schuster @ 2009-12-23 18:04 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: subpagenumber starts at 2 2009-12-23 18:04 ` Wolfgang Schuster @ 2009-12-23 21:02 ` Hans Hagen 0 siblings, 0 replies; 4+ messages in thread From: Hans Hagen @ 2009-12-23 21:02 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-24 18:58 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.33.1261603299.4207.ntg-context@ntg.nl> 2009-12-24 18:58 ` subpagenumber starts at 2 Michael Green 2009-12-23 17:46 Michael Green 2009-12-23 18:04 ` Wolfgang Schuster 2009-12-23 21:02 ` Hans Hagen
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).