ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Xan <dxpublica@telefonica.net>, Hans Hagen <pragma@wxs.nl>
Subject: Re: Bug in \column
Date: Mon, 18 Mar 2013 22:34:24 +0100	[thread overview]
Message-ID: <182EC77A-9B26-497F-B268-848E1CB17581@gmail.com> (raw)
In-Reply-To: <51475DA5.2030708@telefonica.net>


Am 18.03.2013 um 19:32 schrieb Xan <dxpublica@telefonica.net>:

> Hi,
> 
> I found a possibly bug (I attached the doc). With bigskip twocolumns work but with \column it does not. That is, with the diff:
> 
> 98c98
> < \bigskip
> ---
> > %\bigskip
> 100c100
> < %\column
> ---
> > \column
> 
> 
> it does not work: the last exercise is shown in the first column.


The default value to fill the column (\vskip\textheight) does only work
when you start the columns at the top of the page but not when you start
them in the middle of page. When this fixed value is replaced with
\pagegoal it does also work in the middle of the page.

% \installcolumnbreakmethod \s!multicolumn \v!yes
%   {\vskip\textheight
%    \penalty-200 % we can mark and intercept this
%    \vskip-\textheight}

\unprotect
\installcolumnbreakmethod \s!multicolumn \v!yes
  {\vskip .5\pagegoal
   \penalty-200 % we can mark and intercept this
   \vskip-.5\pagegoal}
\protect

\starttext

\startcolumns
a
\column
b
\stopcolumns

\page

\blank[force,12cm]

\startcolumns
a
\column
b
\stopcolumns

\stoptext

Wolfgang
___________________________________________________________________________________
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-03-18 21:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 18:32 Xan
2013-03-18 21:34 ` Wolfgang Schuster [this message]
2013-03-19 19:50   ` Xan
2013-03-20  9:28     ` Wolfgang Schuster
2013-03-20  9:40       ` Hans Hagen
2013-03-20  9:52         ` Wolfgang Schuster
2013-03-21  8:40           ` Xan
2013-03-21 22:58             ` Wolfgang Schuster
2013-03-22  9:59               ` Xan
2013-03-22 10:02               ` Xan
2013-03-22 10:15               ` Xan
2013-03-22 10:19               ` Xan
2013-03-20 18:21         ` Keith J. Schultz

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=182EC77A-9B26-497F-B268-848E1CB17581@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).