From vvv at vsu.ru Wed Dec 5 15:44:43 2001 From: vvv at vsu.ru (Vladimir Volovich) Date: Fri Feb 18 15:06:22 2005 Subject: [tex-pretest] Re: [pdftex] Hyphenating Cyrillic text. In-Reply-To: <5.1.0.14.1.20011205091718.040c6190@server-1> (Hans Hagen's message of "Wed, 05 Dec 2001 09:18:13 +0100") References: <000901c17cef$7b7a11b0$822b670a@villekoti> <000901c17cef$7b7a11b0$822b670a@villekoti> <5.1.0.14.1.20011205091718.040c6190@server-1> Message-ID: "HH" == Hans Hagen writes: >> Still left pondering whether I (anyone) can do it without >> recompiling Tex from scratch?? HH> you can configure the mem values in texmf.cnf and recompile a HH> format file; after that you can enlarge extra_mem-* values HH> without recompiling as for the trie_size (used for hyphenation), the maximum value supported by default in teTeX, TeXLive, etc. is 65535. anything bigger needs recompilation of (pdf)tex from scratch. here's a note from texmf.cnf: % Hyphenation trie. As distributed, the maximum is 65535; this should % work unless `unsigned short' is not supported or is smaller than 16 % bits. This value should suffice for UK English, US English, French, % and German (for example). To increase, you must change % `ssup_trie_opcode' and `ssup_trie_size' in tex.ch (and rebuild TeX); % the trie will then consume four bytes per entry, instead of two. it should be noted that this default is rather small to fit even 3 languages: english russian (with hypht2 switched on) ukrainian (with hypht2 switched on) where hypht2.tex is a file similar to hypht1.tex used to set additional patterns for automatic hyphenation of words with hyphens (someword-someotherword). so it seems that this default (65535) for trie_size should be enlarged by default in web2c, teTeX, TeXLive to allow using big hyphenation patterns needed for hypht1/hypht2. Best, v. From sebastian.rahtz at computing-services.oxford.ac.uk Wed Dec 5 17:07:28 2001 From: sebastian.rahtz at computing-services.oxford.ac.uk (Sebastian Rahtz) Date: Fri Feb 18 15:06:22 2005 Subject: [tex-pretest] Re: [pdftex] Hyphenating Cyrillic text. In-Reply-To: References: <000901c17cef$7b7a11b0$822b670a@villekoti> <000901c17cef$7b7a11b0$822b670a@villekoti> <5.1.0.14.1.20011205091718.040c6190@server-1> Message-ID: <20011205160728.GA13470@spqr.oucs.ox.ac.uk> On Wed, Dec 05, 2001 at 05:44:43PM +0300, Vladimir Volovich wrote: > > as for the trie_size (used for hyphenation), the maximum value > supported by default in teTeX, TeXLive, etc. is 65535. not in TeX Live 6. It is bigger there. does your favourite setup not work under TL6? sebastian -- Sebastian Rahtz OUCS Information Manager 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431 From vvv at vsu.ru Wed Dec 5 17:12:13 2001 From: vvv at vsu.ru (Vladimir Volovich) Date: Fri Feb 18 15:06:22 2005 Subject: [tex-pretest] Re: [pdftex] Hyphenating Cyrillic text. In-Reply-To: <20011205160728.GA13470@spqr.oucs.ox.ac.uk> (Sebastian Rahtz's message of "Wed, 5 Dec 2001 16:07:28 +0000") References: <000901c17cef$7b7a11b0$822b670a@villekoti> <000901c17cef$7b7a11b0$822b670a@villekoti> <5.1.0.14.1.20011205091718.040c6190@server-1> <20011205160728.GA13470@spqr.oucs.ox.ac.uk> Message-ID: "SR" == Sebastian Rahtz writes: SR> not in TeX Live 6. It is bigger there. does your favourite setup SR> not work under TL6? well, i did not check TeXLive, sorry :-) it's great if the default maximum for trie_size is bigger there :-) would be nice to have the same in web2c and teTeX Best, v. From olaf at infovore.xs4all.nl Wed Dec 5 20:20:11 2001 From: olaf at infovore.xs4all.nl (Olaf Weber) Date: Fri Feb 18 15:06:22 2005 Subject: [tex-pretest] Re: [pdftex] Hyphenating Cyrillic text. In-Reply-To: References: <000901c17cef$7b7a11b0$822b670a@villekoti> <000901c17cef$7b7a11b0$822b670a@villekoti> <5.1.0.14.1.20011205091718.040c6190@server-1> Message-ID: <871yi94gpg.fsf@infovore.xs4all.nl> Vladimir Volovich writes: > so it seems that this default (65535) for trie_size should be enlarged > by default in web2c, teTeX, TeXLive to allow using big hyphenation > patterns needed for hypht1/hypht2. s/default/maximum/ I increased the maximum for Web2C 7.3.4, so the problem should be going away in due time. -- Olaf Weber (This space is left blank for technical reasons.) From sojka at informatics.muni.cz Thu Dec 6 18:44:36 2001 From: sojka at informatics.muni.cz (Petr Sojka) Date: Fri Feb 18 15:06:22 2005 Subject: [tex-pretest] Re: [pdftex] Hyphenating Cyrillic text. In-Reply-To: ; from Vladimir Volovich on Wed, Dec 05, 2001 at 05:44:43PM +0300 References: <000901c17cef$7b7a11b0$822b670a@villekoti> <000901c17cef$7b7a11b0$822b670a@villekoti> <5.1.0.14.1.20011205091718.040c6190@server-1> Message-ID: <20011206184436.F29731@informatics.muni.cz> On Wed, Dec 05, 2001 at 05:44:43PM +0300, Vladimir Volovich wrote: > > as for the trie_size (used for hyphenation), the maximum value > supported by default in teTeX, TeXLive, etc. is 65535. > > it should be noted that this default is rather small to fit even 3 > languages: > > english > russian (with hypht2 switched on) > ukrainian (with hypht2 switched on) > > where hypht2.tex is a file similar to hypht1.tex used to set > additional patterns for automatic hyphenation of words with hyphens > (someword-someotherword). > > so it seems that this default (65535) for trie_size should be enlarged > by default in web2c, teTeX, TeXLive to allow using big hyphenation > patterns needed for hypht1/hypht2. It is already bigger (by default) in e.g. TeXlive-6 binaries. One can have twenty languages supported in a format file (at the expense of slightly higher startup time, though). Library PATLIB (http://www.fi.muni.cz/~xantos/PATLIB/) might be of use for somebody implementing dynamic loading of hyphenation patterns. Best, Petr Sojka