From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9430 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: crash in \startlinenumbering Date: Tue, 01 Oct 2002 00:18:58 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20021001001728.01ff2f68@remote-1> References: <20020930105240.383d30d9.wmcclain@salamander.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399757 3061 80.91.224.250 (23 Oct 2002 19:02:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:02:37 +0000 (UTC) Cc: context Original-To: Bill McClain In-Reply-To: <20020930105240.383d30d9.wmcclain@salamander.com> Xref: main.gmane.org gmane.comp.tex.context:9430 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9430 At 10:52 AM 9/30/2002 -0500, Bill McClain wrote: >I have found that with too large a text, linenumbering crashes with this >error: > > ! Dimension too large. > \doreshapebox #1#2#3#4->\ifdim \ht \oldshapebox > =\zeropoint \setbox >\newshap... > > \stopregelnummeren ...ance \linestepper \plusone } > \global \advance >\linenumb... > l.10 \stoplinenumbering > >I reduced it to a test case: > >* * * >\starttext >\startlinenumbering > >% this is ok >\dorecurse{1131}{Now is the time.\par} > >% this crashes >\dorecurse{1132}{Now is the time.\par} > >\stoplinenumbering >\stoptext >* * * > >If I add "\setupinterlinespace[line=4ex]" it crashes before >linecount=1131, but I did not experiment to find the maximum possible >value for that case. > >Do I need to expand some resource? no, just split up the chunks, has to do with the way this is implemented 1000 * 15pt per line => 15000 pt is pretty near the max box height of 16 kilopt Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------