ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thangalin <thangalin@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Mixedcolumns maximum height for vertical rule: bug?
Date: Mon, 23 Sep 2013 23:10:20 -0700	[thread overview]
Message-ID: <CAANrE7rhNGfxtVvNpwUj3JytUUSSNvtO7RsGuefrc=gt0TrYzQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1107 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 4097 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

                 reply	other threads:[~2013-09-24  6:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAANrE7rhNGfxtVvNpwUj3JytUUSSNvtO7RsGuefrc=gt0TrYzQ@mail.gmail.com' \
    --to=thangalin@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).