Re: [NTG-context] Subpagenumbers and unwanted last page with MkIV
Wolfgang Schuster wrote: On Tue, Feb 5, 2008 at 9:57 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Hi, \def\savenofsubpages {\ifsubpaging \showmessage\m!layouts6{\newnofsubpages,\the\subpageno}% %\savetwopassdata{\s!subpage}{\newnofsubpages}{\the\subpageno}% \immediatesavetwopassdata{\s!subpage}{\newnofsubpages}{\the\subpageno}% \fi} \protect The mkiv definition for \savetwopassdata store the value after the shipout and not immediately as the mkii version did and this cause another page in the output to store the information. ok, patched, thanks Hans - 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Subpagenumbers and unwanted last page with MkIV
On Tue, Feb 5, 2008 at 9:57 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Hi, the following example with subpagenumbers works fine with MkII, but MkIV produce a extra last page and I try to get rid of this page. \setupsubpagenumber [number=1, way=bytext, state=start] \setupheadertexts[\subpagenumber--\numberofsubpages] \starttext \dorecurse{8}{\input knuth\par} \page \resetsubpagenumber \dorecurse{8}{\input zapf\par} \stoptext After more than a hour research I found the problem for the extra page in mkiv with subpagenumbering. The following lines solve it: \unprotect % core-two.mkii \ifx \immediatesavetwopassdata\undefined \let\immediatesavetwopassdata\savetwopassdata \fi % page-num.tex \def\savenofsubpages {\ifsubpaging \showmessage\m!layouts6{\newnofsubpages,\the\subpageno}% %\savetwopassdata{\s!subpage}{\newnofsubpages}{\the\subpageno}% \immediatesavetwopassdata{\s!subpage}{\newnofsubpages}{\the\subpageno}% \fi} \protect The mkiv definition for \savetwopassdata store the value after the shipout and not immediately as the mkii version did and this cause another page in the output to store the information. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Subpagenumbers and unwanted last page with MkIV
Hi, the following example with subpagenumbers works fine with MkII, but MkIV produce a extra last page and I try to get rid of this page. \setupsubpagenumber [number=1, way=bytext, state=start] \setupheadertexts[\subpagenumber--\numberofsubpages] \starttext \dorecurse{8}{\input knuth\par} \page \resetsubpagenumber \dorecurse{8}{\input zapf\par} \stoptext Greetings, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___