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
My code:
\mainlanguage[de]
\setuppapersize[A4][A4]
\setupsectionblock[frontpart][page=]
\setupsectionblock[bodypart] [page=]
\setupsectionblock[backpart] [page=]
\setupsectionblock[appendix] [page=]
\setuppagenumbering[alternative=doublesided]
\setupheadertexts[]
\setupheadertexts[\setups{text a}][][][\setups{text b}]
\startsetups[text a]
CHAPTER \getmarking[chapternumber]:
\expanded{\uppercase{\fetchmark[chapter][first]}}
\stopsetups
\startsetups[text b]
\getmarking[section]
\stopsetups
\setupheader[text][after=\hrule]
\setuphead[chapter][header=empty]
\setupfootertexts[][pagenumber]
\starttext
\startstandardmakeup
\title{title}
\stopstandardmakeup
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumber[number=1]
\chapter{body}
bla
\stopbodymatter
\startappendices
\chapter{appendix}
code
\stopappendices
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________