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
___________________________________________________________________________________

Reply via email to