[NTG-context] setuppage is ignored

Thomas Möbius kontakt at thomasmoebius.de
Wed May 7 10:57:15 CEST 2014


Dear list,

it seems as if \setupnumber is ignored or I am using the wrong way to
reset the page numbering.

How to start the page numbering at 1 in the bodymatter?

---minimal exampe---

\setuppapersize[A5]

\setuppagenumbering[start=start,alternative=doublesided,location=]

\setupheader[style=small]
\setupheadertexts
  [{\getmarking[sectionnumber]~\getmarking[section]}]
  [pagenumber]
  [pagenumber]
  [{\getmarking[chapternumber]~\getmarking[chapter]}]

\setuphead[chapter][page={yes,right},header=empty,textstyle=\tfc]

\definehead     [intro] [chapter]
\setuphead      [intro] [number=no]

\definecombinedlist     [content][intro,chapter,section]
\setuplist      [intro] [headnumber=no]

\starttext
\startfrontmatter
\setuppagenumber[numberconversion=romannumerals,state=start,number=1]
%\setupnumber[page][1]
\completecontent
\intro{No number}
\input knuth
\input knuth
\input knuth
\stopfrontmatter

\startbodymatter
\setuppagenumber[numberconversion=numbers,state=start,number=1]
%\setupnumber[page][1]
\chapter{Has number}
\input knuth
\input knuth
\input knuth
\chapter{Has number}
\input knuth
\input knuth
\input knuth
\chapter{Has number}
\input knuth
\input knuth
\input knuth
\stopbodymatter
\stoptext


More information about the ntg-context mailing list