Page numbering in latest beta
Hi, nice surprise, with the latest beta my document just grew 15 pages ;) On a closer look, it turned out that the numbering of my body part is not reset to 1, instead it continues with the next number after my frontpart. Here is how I did set this up long time ago: \startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [chapter][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment Any ideas or suggestions? Thanks in advance! Steffen
On 30-3-2012 17:39, Steffen Fritzsche wrote:
Hi,
nice surprise, with the latest beta my document just grew 15 pages ;)
On a closer look, it turned out that the numbering of my body part is not reset to 1, instead it continues with the next number after my frontpart. Here is how I did set this up long time ago:
What time did you update? I fixed a side effect of some counter code renaming efforts. Hans
\startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment
\startsectionblockenvironment[bodypart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setuppagenumber[number=1] \stopsectionblockenvironment
\startsectionblockenvironment[backpart] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [chapter][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment
\startsectionblockenvironment[appendix] \setupheader [before={\ss\switchtobodyfont[10pt]}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment
Any ideas or suggestions?
Thanks in advance!
Steffen
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 30.03.2012 um 17:39 schrieb Steffen Fritzsche:
Hi,
nice surprise, with the latest beta my document just grew 15 pages ;)
On a closer look, it turned out that the numbering of my body part is not reset to 1, instead it continues with the next number after my frontpart. Here is how I did set this up long time ago:
\startsectionblockenvironment[frontpart] \setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheader[style={\switchtobodyfont[ss,10pt]}] or use \definefont[HeaderFont][Sans at 10pt] in combination with \setupheader[style=HeaderFont]
\setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}]
The partnumber setting is now controlled by the prefix for the pagenumber. A better value for the style key is “style=sansbold”, “style=\ss\bf” or “style=\ssbf”. Wolfgang
participants (3)
-
Hans Hagen
-
Steffen Fritzsche
-
Wolfgang Schuster