ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* starting headings at top of column
@ 2008-12-17 17:57 Lars Huttar
  2008-12-17 19:16 ` Contributing [was: " Idris Samawi Hamid ادريس سماوي حامد
  2008-12-17 19:39 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Lars Huttar @ 2008-12-17 17:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

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...

Thanks,
Lars



___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-17 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-17 17:57 starting headings at top of column Lars Huttar
2008-12-17 19:16 ` Contributing [was: " Idris Samawi Hamid ادريس سماوي حامد
2008-12-17 19:39 ` Hans Hagen

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).