[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(fwd) [tex-live] hyph_size setting in texmf.cnf



Hi Frank!

What do you think about this:

----- Forwarded message from Petr Sojka <sojka@fi.muni.cz> -----
> From: Petr Sojka <sojka@fi.muni.cz>
> Subject: [tex-live] hyph_size setting in texmf.cnf
> To: tex-live@tug.org
> Cc: Karl Berry <karl@freefriends.org>
> Date: Wed, 24 Aug 2005 19:04:53 +0200
> Content-Type: text/plain; charset=us-ascii
> X-DSPAM-Result: Innocent
> X-DSPAM-Confidence: 0.5806
> X-DSPAM-Probability: 0.0000
> 
> On Wed, Aug 24, 2005 at 12:00:09PM +0200, tex-live-request@tug.org wrote:
> > Date: Wed, 24 Aug 2005 01:32:06 +0200
> > From: karl@freefriends.org (Karl Berry)
> > Subject: [tex-live] hyphenation exception list max
> > 
> > In the process of updating the hyphenation exception list for the next
> > tugboat (going to the printer later this week, hopefully), Barbara and I
> > discovered that the list, after Werner's hyphenex.sh script is run to
> > produce variants, has grown to about 1025 entries.
> > 
> > TL's texmf.cnf sets hyph_size to 1000.  So if anyone actually tried to
> > use the list, they'd lose.
> > 
> > So I'd like to increase hyph_size to 5000 (at least).  Anyone see
> > problems with that, or have a different number to propose?  (I'll also
> > ask Christian to do the same with miktex.)
> 
> Knuth comment in tex.web (section 12) is that hyph_size
> should be a prime number (but it is not checked in the code).
> I admit I do not now implications (effectiveness of hash function
> for locating the hyphenation exception?) not following this constraints.
> I'd suggest default setting of hyph_size to a prime that is 
> higher than sum of biggest expection lists for at least American 
> English and German (current dehyphtex.tex has about 800 words).
> A prime around 5000 may suffice for some years.

----- End forwarded message -----

THey went for 
	10007
Do we do the same?

ndex: conf/texmf.d/95NonPath.cnf
===================================================================
--- conf/texmf.d/95NonPath.cnf  (Revision 166)
+++ conf/texmf.d/95NonPath.cnf  (Arbeitskopie)
@@ -140,7 +140,7 @@
 % handled within a tenth of this size.
 buf_size = 200000
 
-hyph_size = 10000       % number of hyphenation exceptions, >610 and <32767.
+hyph_size = 10007       % number of hyphenation exceptions, >610 and <32767.
 nest_size = 500                % simultaneous semantic levels (e.g., groups)
 max_in_open = 15       % simultaneous input files and error insertions
 param_size = 5000      % simultaneous macro parameters

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
AINSWORTH (n.)
The length of time it takes to get served in a camera shop. Hence,
also, how long we will have to wait for the abolition of income tax or
the Second Coming.
			--- Douglas Adams, The Meaning of Liff



Reply to: