Hello ConTeXters, First of all I would like to thank you Hans for ConTeXt. It is a great pleasure to use it to write my PhD thesis. I have just upgraded to the lastest versions of ConTeXt and MikTeX and my draft doesn't compile any more: pdfeTeX complains that it runs out of "multiletter control sequences" (see part of the log file below). I did not found what it is nor how to increase it. Maybe someone on this list can give me some advice ? Yours, Seb. This is pdfeTeX, Version 3.141592-1.10b-2.1 (MiKTeX 2.2) (preloaded format=cont-en 2003.3.31) 1 APR 2003 01:01 entering extended mode **these.tex (these.tex{pdftex.cfg} ConTeXt ver: 2003.3.11 fmt: 2003.3.31 int: english mes: english [...] ! TeX capacity exceeded, sorry [hash size=35000]. [...] Here is how much of TeX's memory you used: 6285 strings out of 67835 96036 string characters out of 755177 566094 words of memory out of 1205208 35000 multiletter control sequences out of 35000 68410 words of font info for 185 fonts, out of 500000 for 1000 56 hyphenation exceptions out of 607 61i,21n,101p,2577b,1356s stack positions out of 1500i,500n,5000p,200000b,32768s 1215 PDF objects out of 65536 223 named destinations out of 20000 673 words of extra memory for PDF output out of 65536 ! ==> Fatal error occurred, the output PDF file is not finished!
Tuesday, April 8, 2003 Sebastian Rooks wrote: SR> Hello ConTeXters, SR> First of all I would like to thank you Hans for ConTeXt. It is a great SR> pleasure to use it to write my PhD thesis. SR> I have just upgraded to the lastest versions of ConTeXt and MikTeX and SR> my draft doesn't compile any more: pdfeTeX complains that it runs out of SR> "multiletter control sequences" (see part of the log file below). I SR> did not found what it is nor how to increase it. Maybe someone on this list SR> can give me some advice ? SR> Yours, To increase the hash size in MiKTeX you have to edit miktex.ini; the key to change is hash_size_def (possibly the one in the [ConTeXt] section) -- Giuseppe "Oblomov" Bilotta
Hello, Giuseppe Bilotta wrote:
Tuesday, April 8, 2003 Sebastian Rooks wrote:
SR> Hello ConTeXters, SR> First of all I would like to thank you Hans for ConTeXt. It is a great SR> pleasure to use it to write my PhD thesis.
SR> I have just upgraded to the lastest versions of ConTeXt and MikTeX and SR> my draft doesn't compile any more: pdfeTeX complains that it runs out of SR> "multiletter control sequences" (see part of the log file below). I SR> did not found what it is nor how to increase it. Maybe someone on this list SR> can give me some advice ? SR> Yours,
To increase the hash size in MiKTeX you have to edit miktex.ini; the key to change is hash_size_def (possibly the one in the [ConTeXt] section)
I did not find this key in the ConTeXt section (or any other key). I looked in MikTeX CVS repository, and it seems to have been removed in revision 1.20 of the file (3 month ago). Nevertheless I did add it (following the [Omega] section ) in my localtexmf\miktex\config\miktex.ini : ;; ---------------------------------------------------------- [ConTeXt] Input Dirs=.;%R\pdftex\context//;%R\pdftex\plain//;%R\pdftex\generic//;%R\pdftex//;%R\etex\context//;%R\etex\plain//;%R\etex\generic//;%R\etex//;%R\tex\context//;%R\tex\plain//;%R\tex\generic//;%R\tex// ;; maximum number of control sequences; it should be at most ;; about (mem_max-mem_min)/10. hash_size_def=65536 ;; a prime number equal to about 85% of hash_size. hash_prime_def=55711 ;; --------------------------------------------------------- Then i rebuilt the formats, but it did not changed anything (with or without hash_prime_def=55711). What did i miss ? Thanks for your help, Seb.
Wednesday, April 9, 2003 Sebastian Rooks wrote: SR> Then i rebuilt the formats, but it did not changed anything (with or SR> without hash_prime_def=55711). What did i miss ? SR> Thanks for your help, Uh. Does it work if you add the key in the main section? -- Giuseppe "Oblomov" Bilotta
Hello, GH> Uh. Does it work if you add the key in the main section? Which section is the main section ? I tried this "hash_size_def=100000" key in sections [ConTeXt], [MikTeX], [pdfeTeX] and [TeX] and it did not changed anything. It is true for both ConTeXt and LaTeX, I verified it with texify etc. I also checked that the file localtexmf\miktex\config\miktex.ini is indeed used by changing the font_mem_size keyin [MikTeX] to "font_mem_size=100000" , which changed the following line 53886 words of font info for 146 fonts, out of 500000 for 1000 to 53886 words of font info for 146 fonts, out of 100000 for 1000 I even installed MikTeX and ConTeXt on another box (Win 2000) with the same ! TeX capacity exceeded, sorry [hash size=35000]. So it does not seem to be my setup. What can I try next ? Am I really the only guy with this problem ? Yours, Seb.
Saturday, April 12, 2003 Sebastian Rooks wrote: SR> So it does not seem to be my setup. What can I try next ? Am I really SR> the only guy with this problem ? Drats, it looks like the hash size cannot be changed ... I'm discussing this and similar issues with Christian, so I'll forward the problem to him. If everything goes well it should be fixed in the next upgrade. I'll keep you informed. -- Giuseppe "Oblomov" Bilotta
At 18:19 12/04/2003 +0200, you wrote:
Hello,
GH> Uh. Does it work if you add the key in the main section?
Which section is the main section ? I tried this "hash_size_def=100000" key in sections [ConTeXt], [MikTeX], [pdfeTeX] and [TeX] and it did not changed anything. It is true for both ConTeXt and LaTeX, I verified it with texify etc. I also checked that the file localtexmf\miktex\config\miktex.ini is indeed used by changing the font_mem_size keyin [MikTeX] to "font_mem_size=100000" , which changed the following line 53886 words of font info for 146 fonts, out of 500000 for 1000 to 53886 words of font info for 146 fonts, out of 100000 for 1000
I even installed MikTeX and ConTeXt on another box (Win 2000) with the same ! TeX capacity exceeded, sorry [hash size=35000].
main_memory.context = 4500000 % 1000000 bot/top hash_extra.context = 90000 % 30000 pool_size.context = 1250000 % 750000 string_vacancies.context = 200000 % 45000 % omega needs more max_strings.context = 190000 % 55000 % omega needs more pool_free.context = 47500 nest_size.context = 500 param_size.context = 5000 save_size.context = 50000 stack_size.context = 5000 obj_tab_size.context = 300000 dest_names_size.context = 300000 allow_multiple_suffixes = f main_memory.mf = 2500000 main_memory.metafun = 3000000 extra_mem_top.context = 2000000 extra_mem_bot.context = 4000000 pool_size.metafun = 3000000 font_max.context = 2000 font_mem_size.context = 1000000 obj_tab_size.pdfetex = 256000 extra_mem_top.mptopdf = 1000000 extra_mem_bot.mptopdf = 1000000 ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------
Sunday, April 13, 2003 Hans Hagen wrote:
I even installed MikTeX and ConTeXt on another box (Win 2000) with the same ! TeX capacity exceeded, sorry [hash size=35000].
HH> main_memory.context = 4500000 % 1000000 bot/top HH> hash_extra.context = 90000 % 30000 HH> pool_size.context = 1250000 % 750000 HH> string_vacancies.context = 200000 % 45000 % omega needs more HH> max_strings.context = 190000 % 55000 % omega needs more HH> pool_free.context = 47500 HH> nest_size.context = 500 HH> param_size.context = 5000 HH> save_size.context = 50000 HH> stack_size.context = 5000 HH> obj_tab_size.context = 300000 HH> dest_names_size.context = 300000 HH> allow_multiple_suffixes = f HH> main_memory.mf = 2500000 HH> main_memory.metafun = 3000000 HH> extra_mem_top.context = 2000000 HH> extra_mem_bot.context = 4000000 HH> pool_size.metafun = 3000000 HH> font_max.context = 2000 HH> font_mem_size.context = 1000000 HH> obj_tab_size.pdfetex = 256000 HH> extra_mem_top.mptopdf = 1000000 HH> extra_mem_bot.mptopdf = 1000000 That's not for MiKTeX, Hans; this only works on web2c-based distributions (fpTeX, teTeX) -- Giuseppe "Oblomov" Bilotta
participants (3)
-
Giuseppe Bilotta
-
Hans Hagen
-
Sebastian Rooks