Dear group
What would be the best way to leave the footer out until the first chapter
and also move the footer down a little more to the bottom of the page
Thanks
Jeroen
% COLOR ==================================================
\definecolor [darktheme] [r=0.43, g=0.00, b=0.00]
% PAGE SETUP ================================================
\definepapersize
[16x24]
[width=160mm,height=240mm]
\setuppapersize[16x24]
\setuplayout
[backspace=18mm,
width=129mm,
topspace=10mm,
header=2mm,
headerdistance=2mm,
height=220mm,
cutspace=30mm,
footerdistance=5mm,
footer=2mm,
bottomdistance=2mm,
bottom=2mm]
% HEADER ================================================
\setupfootertexts[\setups{text right}][][][\setups{text left}]
\setuppagenumbering[location=,alternative=doublesided]
\startsetups[text right]
\rlap{\sl The Title}
\hfill
\llap{\sl \pagenumber}
\stopsetups
\startsetups[text left]
\rlap{\sl \pagenumber}
\hfill
\llap{\sl \getmarking[chapter][current]}%\namedheadnumber{chapter}}
\getmarking[chapter]
\stopsetups
% BODY ======================================================
\setupbodyfont[palatino,10pt]
\setupwhitespace[medium]
% HEADINGS ==================================================
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=.5em,frame=off]
\tbox{\framed[width=2cm,align=left]{#1}}%
\tbox{\framed[width=10cm,align=right,leftframe=on]{#2}}%
\egroup}
\setupheads[alternative=inmargin,separator=--,color=darktheme]
\setuphead[chapter] [style=\tfd \bf, command=\HeadTitle,
textstyle=bold]
\setuphead[section] [style=\tfb \bf]
\setuphead[subsection] [style=\tf \bolditalic]
\setuphead[subsubsection][style=\bf, number=no]
% TOC ======================================================
\setupcombinedlist[content][list={chapter,section,subsection}]
\setupcombinedlist[content][list={chapter,section}, alternative=c,]
\setuplist[chapter][width=10mm, style=bold]
\setuplist[section][width=20mm, style=normal, pagestyle=normal]
% DOCUMENT =============================================
\starttext
\startfrontmatter
\startalignment[center]
\blank[10*big]
{\tfd The Front Page}
\stopalignment
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumber[number=1]
\startchapter[title=abc]
\dorecurse{10}{\input tufte}
\stopchapter
\stopbodymatter
\startappendices
\startchapter[title=abc]
\dorecurse{10}{\input tufte}
\stopappendices
\stopchapter
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________