4

I have observed some books and find that these books start the page number counter in the titlepage (some even do this from the cover) but don't display the page number in the titlepage, also the verso of it. The structure of the document is as follows:

% we assume that page numbers are doublesided.
\starttext
\startfrontmatter
\startstandardmakeup
... % titlepage
\stopstandardmakeup
\stopfrontmatter
\stoptext

how to do this in ConTeXt?

  • Place \setcounter[userpage][2] after \stopstandardmakeup. – Marco Apr 16 '13 at 10:07
  • yeah. a good solution! – Lucas Li Apr 16 '13 at 10:22
5

You can use

\setupmakeup
  [standard]
  [pagestate=start]

See ConTeXt wiki - setupmakeup. Or you can move the \startfrontmatter after \stopstandardmakeup and use

\startsectionblockenvironment [frontpart]
  \setcounter [userpage] [2]
\stopsectionblockenvironment
  • thanks, Marco. I have tried these two methods and read the corresponding part of the wiki. – Lucas Li Apr 16 '13 at 11:17
0

The environment \setupmakeup has the disadvantage of creating a new page at \stopmakeup, apart from vertically centering its contents. If this default makeup formatting is not desired, a conditional \setupheadertexts may offer a more versatile solution:

\setupheadertexts[\doifnot\pagenumber1{Page \currentpage}]
  • You can change both behavior (not create a new page or not vertically center the content). – Aditya Aug 28 '15 at 16:23
  • @Aditya Can you show how? Thanks! – Serge Stroobandt Aug 29 '15 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.