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: Troubles with columnsets and MacTeX 2009
Date: Sun, 29 Nov 2009 15:20:58 +0100	[thread overview]
Message-ID: <4B12834A.5040706@wxs.nl> (raw)
In-Reply-To: <6faad9f00911290226h901502cn776582824189b0c3@mail.gmail.com>

Mojca Miklavec wrote:
> On Sun, Nov 15, 2009 at 20:19, No? wrote:
>> Hi,
>> I've been having issues with columns and \start(stop)bodymatter statements
>> since I updated MacTeX to 2009.
>> Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
>> version, and which crashes on MacTeX 2009.
> 
> Here's a simplified example that doesn't work with the latest ConTeXt
> version either. It seems like bug in "balance=yes" inside columnsets
> (might be just a missing \egroup) that only affects mkii (mkiv works
> fine, but not on TL 2009 :)
> 
> \definecolumnset
> 	[deuxcolonnes]
> 	[balance=yes]
> 
> \starttext
> %\startbodymatter
> 
> \startcolumnset[deuxcolonnes]
> \input tufte
> \stopcolumnset
> 
> %\stopbodymatter
> \stoptext
> 
> I leave it as an exercise to the others to spot the missing delimiter
> in mkii sources.

ok, i figured it out

- when i split the code in mkii and mkiv i merged page-new.tex into 
page-set without noticing that the balancing code was just experimental 
and not even working currently

- so, the balancing code in page-set is just a hook

- in mkiv i had actually nilled the code so no error there

we can do some manual balancing, like:


\setupcolumnset [test-1] [balance=yes]
\setupcolumnset [test-2] [balance=yes]

\setupcolumnsetlines[test-1][1][1] [8]
\setupcolumnsetlines[test-1][1][2][10]

\startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
\startcolumnset [test-2] \dorecurse {2}{\input ward  \par} \stopcolumnset



-----------------------------------------------------------------
                                           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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      parent reply	other threads:[~2009-11-29 14:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 19:19 No?
2009-11-29 10:26 ` Mojca Miklavec
2009-11-29 12:48   ` Hans Hagen
2009-11-29 14:20   ` 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=4B12834A.5040706@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).