ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: starting headings at top of column
Date: Wed, 17 Dec 2008 20:39:25 +0100	[thread overview]
Message-ID: <4949556D.80200@wxs.nl> (raw)
In-Reply-To: <49493D95.5000106@sil.org>

Lars Huttar wrote:
> Hello,
> 
> I've started talking to people in charge about contributing some money
> to this mailing list, or the wiki, or something ... we're certainly
> getting a lot of help from it. Is there an org or project to contribute to?

a few ideas:

- at the tug web page there is a sponsor link ..

https://www.tug.org/donate.html

there you can explicitly sponsor luatex code development (which includes 
mplib); since this project is directly related to context mkiv, support 
will indirectly boost mkiv development (ok, within the limitations of my 
time)

- another option is to sponsor development meetings (e.g. help some 
contributers to context to attend the context conference); there is no 
context link (yet) on the tug page -)

> Anyway, my current challenge is this.
> We have a two-column layout using columnsets. Fairly often, we start a
> new section (within a column... this does not interrupt the flow of
> columns).
> 
> Some constraints we want to fulfill are:
> 
> - Normally we want a little space before each new section heading
>   - Except at the top of a column; can I check whether we're at the top
> of a column and do a conditional \vskip based on that?(*)
> 
> - Avoid orphans: when starting a new section, if there's not enough room
> left in the current column, do a column break before outputting the
> section heading. I've tried \testcolumn[n], but it doesn't seem to work
> right. What are the units of the argument to \testcolumn?
> 
> We also do manual column balancing using \definecolumnset,
> \setupcolumnset, and \setupcolumnsetlines. My concern is, does this
> apply after other layout is performed, so that any test performed above
> (*) regarding position within the column would fail to reflect these
> column balancing adjustments and therefore could give wrong results?
> That could explain why \testcolumn has been behaving in unexpected ways...

columnsets are kind of special:

- strongly grid based (which permits tricky figure placement)
- a regular mvl (which permits most context features)

sometime next year, when we enter the 'opening up luatexs page-builder' 
stage, we can look into enhancing columnsets (i hit some of tex's 
limitations there)

also, when the mvl code is extended i can finish the new mkiv 
spacing/penalty model i'm working on (but first math)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


      parent reply	other threads:[~2008-12-17 19:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17 17:57 Lars Huttar
2008-12-17 19:16 ` Contributing [was: " Idris Samawi Hamid ادريس سماوي حامد
2008-12-17 19:39 ` Hans Hagen [this message]

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=4949556D.80200@wxs.nl \
    --to=pragma@wxs.nl \
    --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).