ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill McClain <wmcclain@salamander.com>
Subject: crash in \startlinenumbering
Date: Mon, 30 Sep 2002 10:52:40 -0500	[thread overview]
Message-ID: <20020930105240.383d30d9.wmcclain@salamander.com> (raw)

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?

-Bill
-- 
Sattre Press                                      Tales of War
http://sattre-press.com/                       by Lord Dunsany
info@sattre-press.com             http://tow.sattre-press.com/ 


             reply	other threads:[~2002-09-30 15:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 15:52 Bill McClain [this message]
2002-09-30 22:18 ` Hans Hagen

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=20020930105240.383d30d9.wmcclain@salamander.com \
    --to=wmcclain@salamander.com \
    /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).