[pdftex] Hyphenating Cyrillic text.

Vladimir Volovich vvv at vsu.ru
Wed Dec 5 17:44:43 CET 2001

"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

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

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.


More information about the pdftex mailing list