[NTG-context] Mixedcolumns maximum height for vertical rule: bug?

Thangalin thangalin at gmail.com
Tue Sep 24 08:10:20 CEST 2013


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: http://tex.stackexchange.com/q/134750/2148

Kindest regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130923/0ab63410/attachment.html>


More information about the ntg-context mailing list