[comp.text.tex] New York Times and hyphenation

eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) (05/27/91)

Whatever text processor the New York Times uses
will occasionally produce words that do-
n't hyphenate correctly. If you catch my drift.

Time for TeX!

\spaceskip=3.3pt plus 1.2pt
\def\nt'{\discretionary{}{not}{n't}}

\setbox0\hbox{I'm perturbed seeing words that do}
\hsize\wd0 \parindent0pt
I'm perturbed seeing words that do\nt' hyphenate correctly\par

\setbox0\hbox{I'm perturbed seeing words that don't}
\hsize\wd0
I'm perturbed seeing words that do\nt' hyphenate correctly\par

\end

Victor.

feustel@netcom.COM (David Feustel) (05/27/91)

Proofreading and spelling aren't what they used to be at the NYTIMES
either.
-- 
David Feustel, 1930 Curdes Ave, Fort Wayne, IN 46805, (219) 482-9631
EMAIL: feustel@netcom.com  or feustel@cvax.ipfw.indiana.edu

myers@ut-emx.uucp (Eric Myers) (05/31/91)

In article <1991May26.205830.5267@csrd.uiuc.edu>
eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) writes: 
>
>Whatever text processor the New York Times uses
>will occasionally produce words that do-
>n't hyphenate correctly. If you catch my drift.
>
>Time for TeX!

Since you have brought the subject up... Ever since installing
TeX 3.0 on my SparcStation I have gotten the impression that
there is something wrong with the hyphenation in 3.0. 
It seems to break words incorrectly  more often.  Often I find
it breaking a word with only the last letter on the following line.

My question:  Is there a difference in hyphenation between TeX 3.0
and 2.9x (which I was happy with) or is it my imagination?

-- 
Eric Myers	"If God had intended for man to fly 
			He would have given us the brains to build airplanes."
Center for Relativity, Department of Physics, University of Texas at Austin
myers@emx.utexas.edu  |   myers@utaphy.bitnet   |   myers@ut-emx.UUCP

cet1@cl.cam.ac.uk (C.E. Thompson) (05/31/91)

In article <49725@ut-emx.uucp> myers@ut-emx.uucp (Eric Myers) writes:
>
>Since you have brought the subject up... Ever since installing
>TeX 3.0 on my SparcStation I have gotten the impression that
>there is something wrong with the hyphenation in 3.0. 
>It seems to break words incorrectly  more often.  Often I find
>it breaking a word with only the last letter on the following line.
>
>My question:  Is there a difference in hyphenation between TeX 3.0
>and 2.9x (which I was happy with) or is it my imagination?
>
With probability 99.9%: you have installed it wrong, by upgrading the
program to TeX 3.0 without upgrading plain.tex. Moral: don't do partial
upgrades.

TeX 3.0, with the correct plain.tex and hyphen.tex, produces hyphenation
results identical to those from TeX versions to 2.991. TeX 2.992 and (to a
lesser extent) 2.993, which were beta-releases of TeX 3.0, did have some
variations in this area, though nothing like as gross as the effects you
report above (which are the results of not setting \lefthyphenmin and   
\righthyphenmin correctly).

Chris Thompson
JANET:    cet1@uk.ac.cam.phx
Internet: cet1%phx.cam.ac.uk@nsfnet-relay.ac.uk

eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) (05/31/91)

myers@ut-emx.uucp (Eric Myers) writes:

>Since you have brought the subject up... Ever since installing
>TeX 3.0 on my SparcStation I have gotten the impression that
>there is something wrong with the hyphenation in 3.0. 
>It seems to break words incorrectly  more often.  Often I find
>it breaking a word with only the last letter on the following line.

Hyphenation changed in the transition from TeX2.* to 3.0.
Two parameters \lefthyphenmin and \righthyphenmin were added,
that described the minimum number of characters allowed before and
after the hyphenation point. In TeX2.* these values were
2 and 3 hardwired. What you probably did was take a plain.tex
file (and Eric, I know you wrote your own format, so maybe you
have your own vrsion of plain.tex) compatible with 2.* and use it
for 3.*. There is a new version of plain.tex that contains
the default settings \lefthyphenmin=2 \righthyphenmin=3.

Furthermore it contains the macros \topglue and \newlanguage.
(and that's about all I remember. dig up the files and do a
diff for the rest.)

Victor.

jeffrey@cs.chalmers.se (Alan Jeffrey) (06/01/91)

In article <1991May26.205830.5267@csrd.uiuc.edu> eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) writes:
>
>Whatever text processor the New York Times uses
>will occasionally produce words that do-
>n't hyphenate correctly. If you catch my drift.
>
>Time for TeX!

Except that I managed to get that hyphenation out of TeX once.  I'd
just upgraded LaTeX to the new font selection scheme, and I thought I
might as well include some new hyphenation tables while I was at it.
So I loaded in the Swedish, Spanish and French hyphenation tables
(with the necessary incantations to \language) and all was fine and
well.  Well, all was fine and well until I spotted the word `do- 
n't' in a document...  Much searching later I found:

   % The FPlain TeX hyphenation tables [NOT TO BE CHANGED IN ANY WAY!]
   \lccode`\'= 39

So now our localinit.tex includes the lines

   \input fhyph
   \lccode`\'=0

So maybe the NYT is using TeX...

Alan.
-- 
Alan Jeffrey         Tel: +46 31 72 10 98         jeffrey@cs.chalmers.se
Department of Computer Sciences, Chalmers University, Gothenburg, Sweden