From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: misbehaving \column
Date: Sat, 4 Oct 2008 09:11:50 +0200 [thread overview]
Message-ID: <1F8B082F-4051-4117-B8A8-A1E453FBA61D@gmail.com> (raw)
In-Reply-To: <6faad9f00810031651v14f238b8hcf1316b999cb1080@mail.gmail.com>
Am 04.10.2008 um 01:51 schrieb Mojca Miklavec:
> On Sat, Oct 4, 2008 at 12:54 AM, Wolfgang Schuster wrote:
>>
>>> One more question: how can I say "please keep this content together"
>>> when typsetting in columns on grid? \vbox behaves a bit weird, but
>>> most important: it does not align baselines properly.
>>
>> \interlinepenalty=10000
>
> So like this:
> \long\def\startpleasekeepmetogether#1\stoppleasekeepmetogether
> {\hereshouldprobablybesomepenaltyfixtoallowcolumnbreak
> \bgroup\interlinepenalty=10000#1\egroup}
> ?
>
> I alweays fear using such constructs since I have a feeling that
> ConTeXt has something better to offer, but colums seem a bit
> problematic anyway.
\definestartstop
[pleasekeepmetogether]
[commands=\setups{pleasekeepmetogether}]
\startsetups pleasekeepmetogether
%\interlinepenalty\plustenthousand
\setpenalties\interlinepenalties{100}\maxdimen
\stopsetups
\showframe
\starttext
\dorecurse{9}{\input ward\par}
\startpleasekeepmetogether
\input tufte\par
\stoppleasekeepmetogether
\dorecurse{3}{\input ward\par}
\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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-10-04 7:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 16:40 Mojca Miklavec
2008-10-03 16:57 ` Mojca Miklavec
2008-10-03 17:31 ` Wolfgang Schuster
2008-10-03 19:46 ` Mojca Miklavec
2008-10-03 20:12 ` Wolfgang Schuster
2008-10-03 21:57 ` Mojca Miklavec
2008-10-03 22:54 ` Wolfgang Schuster
2008-10-03 23:51 ` Mojca Miklavec
2008-10-04 7:11 ` Wolfgang Schuster [this message]
2008-10-04 8:24 ` luigi scarso
2008-10-07 21:50 ` Mojca Miklavec
2008-10-08 7:36 ` Taco Hoekwater
2008-10-08 11:24 ` Hans Hagen
2008-10-05 18:15 ` Henning Hraban Ramm
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=1F8B082F-4051-4117-B8A8-A1E453FBA61D@gmail.com \
--to=schuster.wolfgang@googlemail.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).