Hi,
The horizontal rule for the first page extends to the bottom of the page, but does not do so on the second page. How do you prevent the vertical rule from extending to the bottom of the page?
\usemodule[ipsum]
\setuplayout[
topspace=\zeropoint,
height=fit,
width=fit, % Allow text to be flush with the bottom.
%footerdistance=2cm,
]
\definemixedcolumns[StyleColumns][
frame=off,
separator=rule,
rulecolor=black,
alternative=global,
%maxheight=\textheight,
]
% Set up two-column mode for the ingredients, instructions, etc.
\setuphead[section][
after={\startStyleColumns},
aftersection={\stopStyleColumns},
]
\def\StylePageNumber#1{%
{\inframed[
frame=off,
background=color,
backgroundcolor=red,
width=2em,
height=2em,
]{#1}}
}
\setuppagenumbering[location=inright,command=\StylePageNumber,]
\starttext
\startchapter[title=Chapter]
\startsection[title=Section]
\input knuth \input zapf \ipsum \input knuth \input knuth \input zapf
\stopsection
\stopchapter
\stoptext
For further details, see: Kindest regards.