[NTG-pdftex] increasing max_strings

David Kastrup dak at gnu.org
Wed Oct 10 09:43:28 CEST 2007


Hi,

because of exceeded TeX capacity, I increased the following limit in
the source:

svn diff
Index: source/src/texk/web2c/tex.ch
===================================================================
--- source/src/texk/web2c/tex.ch        (Revision 241)
+++ source/src/texk/web2c/tex.ch        (Arbeitskopie)
@@ -200,7 +200,7 @@
 @y
 @d file_name_size == maxint
 @d ssup_error_line = 255
- at d ssup_max_strings == 262143
+ at d ssup_max_strings == 500000
 {Larger values than 65536 cause the arrays consume much more memory.}
 @d ssup_trie_opcode == 65535
 @d ssup_trie_size == @"3FFFFF

Does anybody know offhand whether I can expect bad effects?  After
all, why would the ssup-setting not be the maximum possible value?
And if there was a reason to set it that way, what other things would
I have to change?

I ask because the job that was now able to compile produced a corrupt
PDF.  There can be a number of other reasons for that, but since the
run is quite slow, I'd want to have this ruled out if possible.

Thanks,

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


More information about the ntg-pdftex mailing list