![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 4/22/2013 4:24 PM, Lars Huttar wrote:
On /Fri Apr 19 21:36:41 CEST 2013 /Hans Hagen wrote:
/ \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] />/ />/ \setupcolumnsetlines[abbcolumn][1][1][60] />/ \setupcolumnsetlines[abbcolumn][1][2][60] /
On 4/18/2013 11:13 PM, Lars Huttar wrote: the 60 exceeds the number of lines
Hans, thanks for responding.
I don't understand the above statement. What number of lines does 60 exceed? Is there a hard-coded limit? (We didn't seem to have a problem with this code before we migrated from XeTeX / mkii to LuaTeX / mkiv, but I couldn't guarantee what else is different.)
Column sets allocates a box for each line but does that dynamically (i.e. at the start of a columnset) but the min/max settings in the above command don't check for that so if you have a 55 line layout you get an overflow.
Is there a workaround for us now?
I've added a check.
I could leave out the \setupcolumnsetlines commands for the moment, and hope we don't overflow the page. Actually I'm not sure what will happen if we leave the number of lines at the default (which is apparently zero?).
no, more like 55 or so (depends on the layout settings)
Regards, Lars
/ \starttext />/ \startcolumnset[abbcolumn] />/ foo />/ \stopcolumnset />/ \stoptext / i'll add a check
(i will redo columnsets at some point in a more mkiv-ish way)
Hans
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------