ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Disable balancing of page bottoms
Date: Wed, 15 Jan 2014 16:24:17 +0100	[thread overview]
Message-ID: <20140115152417.GH2768@homerow> (raw)
In-Reply-To: <20140115154453.76cd473c@Klapprechner1.site>


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

On 2014–01–15 Joshua Krämer wrote:

> I have found out that I had interpreted the problem wrongly.  It is
> not a problem of balancing, it is a problem of the layout macros.

It's not a problem with the macros, it's a consequence of you
using them the wrong way.

> I use a different page layout for the titlepage and switch to the
> main layout later.  This switch is in the front matter part, which
> results in the new layout being respected for one page only.
> Somehow for subsequent pages, the layout is wrong.

Here's a suggestion of how to set it up correctly. This also fixes
the table.

\definemakeup
  [Titlelayout]
  [top=]

\definelayout
  [Titlelayout]
  [width=10cm,
   height=10cm,
   header=0cm,
   footer=0cm]

\setuplayout
  [width=10cm,
   height=25cm,
   header=0cm,
   footer=0cm]

\showframe
\starttext

\startfrontmatter
  \startmakeup [Titlelayout]
    Title
  \stopmakeup
\stopfrontmatter

\dorecurse{5}{\input{knuth}}

\startplacetable [location=270]
  \setupTABLE [option=stretch, textwidth=\textheight]
  \bTABLE \bTR \bTD 1 \eTD \bTD 2 \eTD \eTR \eTABLE
\stopplacetable

\dorecurse{5}{\input{knuth}}

\stoptext


Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 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:[~2014-01-15 15:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 22:26 Joshua Krämer
2014-01-15 10:53 ` Hans Hagen
2014-01-15 14:44   ` Joshua Krämer
2014-01-15 15:24     ` Marco Patzer [this message]
2014-01-15 17:14       ` Joshua Krämer
2014-01-15 20:54         ` Marco Patzer
2014-01-16 13:17           ` Joshua Krämer

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=20140115152417.GH2768@homerow \
    --to=lists@homerow.info \
    --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).