Re: Debunking a myth: Knuth-Plass as a silver bullet for widow/orphan management

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <20260812103455.mxcaaf5bcnniyjsr@illithid>
At 2026-08-11T18:17:53+0200, Stefan Möding wrote:
> Tadziu Hoffmann <[email protected]> writes:
> > TeX's formatting model is based on optimization, finding the
> > "least bad" instance of a line-broken paragraph.  How "bad"
> > orphans ("clubs" in TeX) and widows are considered to be
> > is user-specifiable.  If you don't set a sufficiently high
> > penalty for these, then other criteria will dominate, and
> > TeX will in fact produce output with stranded lines.
> 
> The TeXFAQ at https://texfaq.org/FAQ-widows says “These penalties are
> usually set to the moderate value of 150; this offers mild
> discouragement of bad breaks.”
> 
> Since the TeXbook also mentions 150 as value for these two penalties,
> this obviously goes back to D. Knuth himself.  I’m pretty sure that he
> spent some time thinking about the default value.

Yes, but Tadziu _also_ said:

"The whole business of typesetting is finding the right compromises
for a given job."

Different circumstances and contexts dictate different compromises to
the artist's eye.

The quality of Knuth's output in typesetting his own work is tough to
criticize.  I can say only that when I read him, I don't notice the
typography, which may be the highest compliment I can offer it.  He gets
me thinking about math and/or engaging with his approachable authorial
voice; I don't perceive the scaffold upon which he arranges his words.

I _did_ notice subpar typography in the C++ paper I cited in the
original post to this thread.  That's no shade on the authors--these
types of papers are intended to be ephemeral and eventually will be of
interest mainly to archivists and historians of that programming
language.

My point, apart from pointing out the hazards of ignorant fanboy culture
that I see at various web sites, is that both TeX and *roff offer the
author the tools they require to achieve good typography.  Lacking an
implementation of the Knuth-PLass breaking algorithm doesn't mean a
*roff can't do that.  It's not a killer feature.  Heirloom Doctools
troff and neatroff both wasted no time in implementing it.  I don't know
that the latter had or has any ambition to supplant groff; I harbor a
suspicion that the former did.  If so, that has yet to eventuate.

Regards,
Branden
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmp8TEgACgkQ0Z6cfXEm
bc4VXQ//dLgsfbDRJdaqyw6MotfyqNXHnZTkpk+6c59yjQ9gfqW6r2tli3dou3/i
df5Bq2AZpxitrGO+Nir6qvcEm3F7vxSGDQ41v/akak0YHLmsRT788roUEdqZLv13
9w7OZhpFqfoDcKgoio5ZwWDuIQK6P2PQ0oTu/5TTrWb5ZGR5KdFLyQse2j+Cz7Zt
e4Tm3zN3NkJBvIRfUwr1YYgMLYuXhYijPjbJrdzASKOA4ZTD4NJwgbjz4w8mSWd7
gWE4N1+fO0RwMUXayskyNGMRTTUkbzXYt67mgdAcnt0dkMU4agAMBj8pBWQb6kOU
G89lGVrHZIKVkSwQkwFpsqMGnTl6aRL30NmtZqkfI9CcpQPi2P1YGGIOlYqnG0V9
COlmVh641/Y40xdwnEF8IdQDj6CFVUmFfs5x3EkBCXDoujF530heWEm35m8Ny3Hz
sFyqH0KLJ2awqrFQwyWGFeeL7STjqUD2rLXB3l1QjHdIjnTgmTDDvsd5ObnxiNhL
0D97X5bpWPW+9+1Amksaa5lGZTe/KhEnU6Ptyg54U+P/n2CWpT7cRwKpcVn+qJF2
QqDnskO+IBB1xOs3F7Ms4uxz197K0B9NfWSfrpKa2RCoDfccbAqxIY57jqa2IaqR
SXScoDyutOpXjjnTfTfWu893+XzeCJg8ny0avx43hWK15ywNx9g=
=JhBJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.