From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82062 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: Missing number error, related to setupcolumnsetlines Date: Wed, 24 Apr 2013 09:56:10 -0400 Message-ID: <5177E47A.906@sil.org> References: <5175482D.1010007@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366811790 2326 80.91.229.3 (24 Apr 2013 13:56:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 13:56:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 24 15:56:33 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UV0BU-0005UG-Ax for gctc-ntg-context-518@m.gmane.org; Wed, 24 Apr 2013 15:56:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62AB8101E9; Wed, 24 Apr 2013 15:56:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id e+bjSWVlpiGq; Wed, 24 Apr 2013 15:56:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 98947101E4; Wed, 24 Apr 2013 15:56:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54C54101E4 for ; Wed, 24 Apr 2013 15:56:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dJ1+o48PHoV1 for ; Wed, 24 Apr 2013 15:56:19 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 597A5101E3 for ; Wed, 24 Apr 2013 15:56:19 +0200 (CEST) Original-Received: from smtp1.wsfo.org (smtp1.wsfo.org [162.40.29.51]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3ODuFUa001292 for ; Wed, 24 Apr 2013 15:56:16 +0200 Original-Received: from mail.link77.net (cgp2.mail.link77.net [172.22.65.14]) by smtp1.wsfo.org (8.14.4/8.14.4) with ESMTP id r3ODuDOY010437 for ; Wed, 24 Apr 2013 09:56:14 -0400 X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-ExtScanner: Niversoft's Find_Attachments Original-Received: from [172.22.10.239] (account lars_huttar@sil.org [172.22.10.239] verified) by cgp2.mail.link77.net (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 117852952; Wed, 24 Apr 2013 09:56:11 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <5175482D.1010007@sil.org> X-Enigmail-Version: 1.5.1 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Scanned-By: MIMEDefang 2.73 on 172.22.65.23 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=162.40.29.51; country=US; region=NY; city=Ashville; postalcode=14710; latitude=42.0857; longitude=-79.4356; metrocode=514; areacode=716; http://maps.google.com/maps?q=42.0857,-79.4356&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JrNUfv1 - 2b35519acce2 - 20130424 (trained as not-spam) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82062 Archived-At: On /Mon Apr 22 18:59:07 CEST 2013, Hans Hagen wrote: / > On 4/22/2013 4:24 PM, Lars Huttar wrote: > >/ On /Fri Apr 19 21:36:41 CEST 2013 /Hans Hagen wrote: > />>/ On 4/18/2013 11:13 PM, Lars Huttar wrote: > />>>/ / \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] > />>/ />/ > />>/ />/ \setupcolumnsetlines[abbcolumn][1][1][60] > />>/ />/ \setupcolumnsetlines[abbcolumn][1][2][60] > />>/ / > />>/ 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. OK, I think I understand now. > >/ Is there a workaround for us now? > / > I've added a check. I'm not sure what this means. I guess it will prevent the error message from occurring. Is it something I would get from a nightly development snapshot? If so, where do I find it? But it also sounds like there's no point in our having a setting of 60 lines when there are only 42 lines in our layout (that's the number above which this error occurs). So I need to either tweak our layout, or reduce the number of lines I'm asking for in a columnset. Thanks, Lars > >/ 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 ___________________________________________________________________________________