Re: ptetex3 と 7babel.sh (Re: Babelを使った・・・)

名前: 安田
日時: 2005-08-13 14:14:51
IPアドレス: 210.159.229.*

>>37407 栗山さん、こんにちは。 > そうしますと、teTeX-3 にもパッチを当ててもらえれば、 > TeX capacity exceeded のエラーを回避できるでしょうか。 > web2c-7.5.4 にバックポート(と言ってよいのでしょうか) 私も web2c-7.5.4 ですが、 ssup_trie_opcode 65535 -> 4194303 ssup_trie_size 262143 -> 4194303 trie_op_size 35111 -> 561776 neg_trie_op_size -35111 -> -561776 とするパッチを作ってみました。 結構ダイナミックに増やしています。 Mac OS X で make world まで通るのを確認しています。 もしよろしければお試しいただけますか。 以下のテキストをファイル tex.ch.patch としてコピーして % cd /usr/local/src/tetex-src-3.0/texk/web2c % patch < $DOKOKA/tex.ch.patch とやって適用します。 $DOKOKA はパッチを入れたディレクトリですので 読み替えてください。 *** tex.ch.orig Sat Aug 13 13:41:06 2005 --- tex.ch Sat Aug 13 13:49:36 2005 *************** *** 202,209 **** @d ssup_error_line = 255 @d ssup_max_strings == 262143 {Larger values than 65536 cause the arrays consume much more memory.} ! @d ssup_trie_opcode == 65535 ! @d ssup_trie_size == 262143 @d ssup_hyph_size == 65535 {Changing this requires changing (un)dumping!} @d iinf_hyphen_size == 610 {Must be not less than |hyph_prime|!} --- 202,209 ---- @d ssup_error_line = 255 @d ssup_max_strings == 262143 {Larger values than 65536 cause the arrays consume much more memory.} ! @d ssup_trie_opcode == 4194303 ! @d ssup_trie_size == 4194303 @d ssup_hyph_size == 65535 {Changing this requires changing (un)dumping!} @d iinf_hyphen_size == 610 {Must be not less than |hyph_prime|!} *************** *** 219,227 **** @<Constants...@>= @!hash_offset=514; {smallest index in hash array, i.e., |hash_base| } {Use |hash_offset=0| for compilers which cannot decrement pointers.} ! @!trie_op_size=35111; {space for ``opcodes'' in the hyphenation patterns; best if relatively prime to 313, 361, and 1009.} ! @!neg_trie_op_size=-35111; {for lower |trie_op_hash| array bound; must be equal to |-trie_op_size|.} @!min_trie_op=0; {first possible trie op code for any language} @!max_trie_op=ssup_trie_opcode; {largest possible trie opcode for any language} --- 219,227 ---- @<Constants...@>= @!hash_offset=514; {smallest index in hash array, i.e., |hash_base| } {Use |hash_offset=0| for compilers which cannot decrement pointers.} ! @!trie_op_size=561776; {space for ``opcodes'' in the hyphenation patterns; best if relatively prime to 313, 361, and 1009.} ! @!neg_trie_op_size=-561776; {for lower |trie_op_hash| array bound; must be equal to |-trie_op_size|.} @!min_trie_op=0; {first possible trie op code for any language} @!max_trie_op=ssup_trie_opcode; {largest possible trie opcode for any language}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)