ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Suboptimal German hyphenation
@ 2022-09-28 22:24 Leah Neukirchen via ntg-context
  2022-09-29  0:17 ` Max Chernoff via ntg-context
  0 siblings, 1 reply; 10+ messages in thread
From: Leah Neukirchen via ntg-context @ 2022-09-28 22:24 UTC (permalink / raw)
  To: ntg-context; +Cc: Leah Neukirchen

Hi,

I was typesetting some German text on a narrow page when I discovered
the justification wasn't as good as expected.  I think I tracked this
down to differences in hyphenation points, namely, ConTeXt has fewer:

\starttext
\language[de]
\showhyphens{Zusammenhang}
\showhyphens{anderswo}
\showhyphens{anderswoher}
\stoptext

This shows
languages       > hyphenation > show: Zusam[-||]men[-||]hang
languages       > hyphenation > show: anderswo
languages       > hyphenation > show: anders[-||]wo[-||]her

Now with LaTeX and Babel:

\documentclass{article}
\usepackage[ngerman]{babel}
\begin{document}
\showhyphens{Zusammenhang}
\showhyphens{anderswo}
\showhyphens{anderswoher}
\end{document}

This shows
[] \TU/lmr/m/n/10 Zu-sam-men-hang
[] \TU/lmr/m/n/10 an-ders-wo
[] \TU/lmr/m/n/10 an-ders-wo-her

The LaTeX hyphenation points agree with the German Duden dictionary.

As none of the words use more than 7-bit ASCII, I think newer pattern
changes are not related.

Curiously, the same effect already appears with MKII and MKIV from
TeXLive 2014, the oldest I had around.

I'm also surprised 'anders-wo-her' gets hyphenated but 'anderswo' is
not hyphenated at all.

I could not reproduce a difference with English words so far.

Any ideas? As far as I understand, MKIV/LMTX should use the
de-hyph-1996 patterns which LuaLaTeX uses these days too, via
hyph-utf8.

Thanks,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-10-31  7:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 22:24 Suboptimal German hyphenation Leah Neukirchen via ntg-context
2022-09-29  0:17 ` Max Chernoff via ntg-context
2022-09-29  0:44   ` Leah Neukirchen via ntg-context
2022-10-19 14:47     ` Leah Neukirchen via ntg-context
2022-10-19 18:02       ` Pablo Rodriguez via ntg-context
2022-10-31  7:47         ` Denis Maier via ntg-context
2022-09-29  4:10   ` Wolfgang Schuster via ntg-context
2022-09-29  4:49     ` Henning Hraban Ramm via ntg-context
2022-09-29  6:27       ` Arthur Rosendahl via ntg-context
2022-09-29  6:53         ` Henning Hraban Ramm via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).