From: Max Chernoff via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Max Chernoff <mseven@telus.net>, leah@vuxu.org
Subject: Re: Suboptimal German hyphenation
Date: Wed, 28 Sep 2022 18:17:42 -0600 [thread overview]
Message-ID: <0b6f64bfef3bc4e2fcb9f495e14694f6064397a5.camel@telus.net> (raw)
In-Reply-To: <87leq3jfx2.fsf@vuxu.org>
Hi Leah,
> 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
Babel/ngerman sets left/righthyphenmin to 2/2, but ConTeXt sets those to
3/3 for German. (The English default is 2/3). I don't speak German so I
have no idea which is correct, but you can get the same behaviour in
ConTeXt with:
\mainlanguage[de]
\lefthyphenmin=2
\righthyphenmin=2
\starttext
\showhyphens{Zusammenhang}
\showhyphens{anderswo}
\showhyphens{anderswoher}
\stoptext
which gives:
languages > hyphenation > show: Zu[-||]sam[-||]men[-||]hang
languages > hyphenation > show: an[-||]ders[-||]wo
languages > hyphenation > show: an[-||]ders[-||]wo[-||]her
-- Max
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-09-29 0:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 22:24 Leah Neukirchen via ntg-context
2022-09-29 0:17 ` Max Chernoff via ntg-context [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b6f64bfef3bc4e2fcb9f495e14694f6064397a5.camel@telus.net \
--to=ntg-context@ntg.nl \
--cc=leah@vuxu.org \
--cc=mseven@telus.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).