ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: misbehaving \column
Date: Sat, 4 Oct 2008 01:51:17 +0200	[thread overview]
Message-ID: <6faad9f00810031651v14f238b8hcf1316b999cb1080@mail.gmail.com> (raw)
In-Reply-To: <FD49EB27-A635-4CB4-B382-2759A50EB1D5@gmail.com>

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.

> You could also redefine to prohibit a pagebreak/columnbreak between
> paragraphs but these things should be done in a local group.

It needs to be done locally anyway. I just need to keep some portions together.

Mojca

// My next project with Word & Paint :) :) :)
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2008-10-03 23:51 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 [this message]
2008-10-04  7:11             ` Wolfgang Schuster
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=6faad9f00810031651v14f238b8hcf1316b999cb1080@mail.gmail.com \
    --to=mojca.miklavec.lists@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).