Am 23.09.2012 um 16:07 schrieb Arne Runge
Hi,
I would like to have a doublesided layout with:
- a titlepage with neither header nor footer, - a frontpart with pagesnumbers(left/right) in roman - a bodypart with pagesnumbers(left/right) in arabic - an appendix with pagesnumbers(left/right) in arabic
- first page of a chapter should not have a header + underline - next page header(CHAPTER #: chapter) underlined - next page header(section) underlined
- if there is no section then only the line. - if the next page is empty than only the pagenumber should be printed.
Seems to be a common layout and I apologize for asking.
Thanks in advance for any help.
Regards,
Arne
Put the makeup environment in the front matter environment and remove the sectionblock settings. When you don’t want to start chapter at a right page you can add \setupsectionblock[page=yes] to your document. \setuppagenumbering[alternative=doublesided] \setupheadertexts[] \setupheadertexts[\setups{text a}][][][\setups{text b}] \startsetups[text a] CHAPTER \getmarking[chapternumber]: \WORD{\getmarking[chapter]} \stopsetups \startsetups[text b] \getmarking[section] \stopsetups \setupheader[text][after=\hrule] \setuphead[chapter][page={header,right},header=empty] \setupfootertexts[][pagenumber] \defineconversionset[frontpart:pagenumber][romannumerals][] \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \starttext \startfrontmatter \startstandardmakeup[align=middle] {\tfd TITLE} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \dorecurse{12}{\input knuth\par} \stopbodymatter \startappendices \chapter{Zapf} \dorecurse{12}{\input zapf\par} \stopappendices \stoptext Wolfgang