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? 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!
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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Fri, 30 May 2014 18:11:46 +0200
Hans Hagen
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
Are there instructions for installing the beta? I can't find them.
Thanks,
Neal
On Fri, May 30, 2014 at 12:19 PM, john Culleton
On Fri, 30 May 2014 18:11:46 +0200 Hans Hagen
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
___________________________________________________________________________________
On 6/2/2014 8:32 PM, Neal Lester wrote:
Are there instructions for installing the beta? I can't find them.
Did you look at contextgarden.net? At the top of the page there is a link. Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Somehow I ended up with a file called cont-tmf.zip thinking it was the
beta. I can't even find the (apparently obsolete) page I downloaded that
from again. Anyway, installing the beta (per the context garden
instructions) worked with the new default. It did pick-up changes to
luatex.savesize.
Thanks for the help.
Neal
On Mon, Jun 2, 2014 at 4:06 PM, Hans Hagen
On 6/2/2014 8:32 PM, Neal Lester wrote:
Are there instructions for installing the beta? I can't find them.
Did you look at contextgarden.net? At the top of the page there is a link.
Hans
----------------------------------------------------------------- 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 ----------------------------------------------------------------- ____________________________________________________________ _______________________ 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 ____________________________________________________________ _______________________
Am 28.05.2014 um 18:34 schrieb Neal Lester
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?
Although Hans added a way to increase TeX’s memory it is better to look for alternative ways to create the table, e.g. to replace the natural tables environment with xtables or tabulate or when your data representation is very simple use a \framed based solution. Wolfgang
participants (4)
-
Hans Hagen
-
john Culleton
-
Neal Lester
-
Wolfgang Schuster