ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: john Culleton <John@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: Unable To Render Table With Over 3000 Rows
Date: Fri, 30 May 2014 15:19:59 -0400	[thread overview]
Message-ID: <20140530151959.6e905f3c@localb.wexfordpress.net> (raw)
In-Reply-To: <5388ADC2.2050009@wxs.nl>

On Fri, 30 May 2014 18:11:46 +0200
Hans Hagen <pragma@wxs.nl> wrote:

> On 5/28/2014 6:34 PM, Neal Lester wrote:
> > When I attempt to render a table with more
> > than about 3000 rows I get the following
> > error.  Searching the archives I found one
> > message suggesting that [save size] is hard
> > coded and cannot be increased.
> >
> > The application is rendering business
> > reports; they are relatively simple documents
> > but we definitely need more than 3000 rows.
> > Is there a way to configure context to render
> > tables of this size?
> 
> at some point you will hit other limitations
> 
> you can jump the number by changing a line in
> the source code but as that is cumbersome I
> changed the beta a bit so that you can add this
> line in the texmfcnf.lua file in the directives
> section:
> 
>              ["luatex.savesize"] = "100000",
> 
> (i now report the relevant values at the end of
> a context --make run as some need to be saved
> with the format due to startup relationships)
> 
> I also set the value to 100K by default.
> 
> Hans
> 
> > Thanks,
> >
> > Neal Lester
> >
> > (C:/projects/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
> >
> > ConTeXt  ver: 2014.01.03 00:40 MKIV current
> > fmt: 2014.5.28  int: english/english
> >
> > system          > 'cont-new.mkiv' loaded
> > (C:/projects/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
> > system          > files > jobname
> > 'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47',
> > input
> > './temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47',
> > result
> > 'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47'
> > fonts           > latin modern fonts are not
> > preloaded languages       > language 'en' is
> > active
> > (C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex{C:/projects/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> > fonts           > preloading latin modern
> > fonts (second stage) fonts           >
> > typescripts > unknown library
> > 'loc' {C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
> > fonts           > 'fallback modern rm 12pt'
> > is loaded structure       > sectioning > part
> > @ level 1 : 1 -> ! TeX capacity exceeded,
> > sorry [save size=50000]
> >
> > system          > tex > error on line 5025 in
> > file
> > C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex:
> > TeX capacity exceeded, sorry [ ...
> >
> > 5015     \bTR \bTD This is an arbitrary
> > label\eTD \bTD[nc=1,align=flushright]
> > 4,992\eTD \eTR 5016     \bTR \bTD This is an
> > arbitrary label\eTD
> > \bTD[nc=1,align=flushright] 4,993\eTD \eTR
> > 5017     \bTR \bTD This is an arbitrary
> > label\eTD \bTD[nc=1,align=flushright]
> > 4,994\eTD \eTR 5018     \bTR \bTD This is an
> > arbitrary label\eTD
> > \bTD[nc=1,align=flushright] 4,995\eTD \eTR
> > 5019     \bTR \bTD This is an arbitrary
> > label\eTD \bTD[nc=1,align=flushright]
> > 4,996\eTD \eTR 5020     \bTR \bTD This is an
> > arbitrary label\eTD
> > \bTD[nc=1,align=flushright] 4,997\eTD \eTR
> > 5021     \bTR \bTD This is an arbitrary
> > label\eTD \bTD[nc=1,align=flushright]
> > 4,998\eTD \eTR 5022     \bTR \bTD This is an
> > arbitrary label\eTD
> > \bTD[nc=1,align=flushright] 4,999\eTD \eTR
> > 5023     \bTR \bTD This is an arbitrary
> > label\eTD \bTD[nc=1,align=flushright]
> > 5,000\eTD \eTR 5024     \eTABLEbody 5025 >>
> > \eTABLE 5026     \stoptext 5027
> >
> > If you really absolutely need more capacity,
> > you can ask a wizard to enlarge me.
> >
> > !  ==> Fatal error occurred, no output PDF
> > file produced!
> >
> >
> >
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________
> >
> 
> 

This sounds like a job for a programming language
with printing features, and not a DTP program. In
my days as a COBOL programmer printing a report
from a data file with a million entries was not
unusual. As my father used to say there are
horses for courses. 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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	other threads:[~2014-05-30 19:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 16:34 Neal Lester
2014-05-30 16:11 ` Hans Hagen
2014-05-30 19:19   ` john Culleton [this message]
2014-06-02 18:32     ` Neal Lester
2014-06-02 23:06       ` Hans Hagen
2014-06-03 15:38         ` Neal Lester
2014-05-30 16:38 ` Wolfgang Schuster

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=20140530151959.6e905f3c@localb.wexfordpress.net \
    --to=john@wexfordpress.com \
    --cc=ntg-context@ntg.nl \
    /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).