I would like to set the numbering like
- Cover page = show no page number
- TOC = roman page numbers
- Body= arabic page numbers
Many people have previously asked similar question like Page numbers (Roman number and Arabic numerals) in ConTeXt, however the answers seems to work with when we rely on default page numbering style.
However when I modify the template shown in the above example with
\setupfootertext
, the numbering stops working. Below is thetex
file.Looking to hide the footer till I reach the body
- Have footer, with alternative pages showing the title and the chapter name. Both pages with arabic numbers.
.
% Template from the line provide above
\definestructureconversionset [frontpart:pagenumber] [] [romannumerals]
\startsectionblockenvironment [bodypart]
\setcounter [userpage] [1]
\stopsectionblockenvironment
%=========================ADDITION====================================
\setuppagenumbering[location=,alternative=doublesided]
\setupfootertexts[\setups{text right}][][][\setups{text left}]
\startsetups[text right]
\rlap{}
\hfill
\bf {\sl Title goes here }
\hfill
\llap{\pagenumber}
\stopsetups
\startsetups[text left]
\rlap{\pagenumber}
\hfill
\bf \cap{ Chapter \getmarking[chapternumber] } \getmarking[chapter]
\hfill
\llap{}
\stopsetups
%=========================ADDITION END====================================
\starttext
\startstandardmakeup
Cover page
\stopstandardmakeup
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\section[production]{Production}
Production is a two part process.
\section[background]{Background}
\stopbodymatter
\stoptext
book
class would help.\pagenumber
to\userpagenumber
.