From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Suboptimal German hyphenation
Date: Thu, 29 Sep 2022 06:10:03 +0200 [thread overview]
Message-ID: <ee3adcc0-4fc2-45df-ae03-57e9978b14fd@gmail.com> (raw)
In-Reply-To: <0b6f64bfef3bc4e2fcb9f495e14694f6064397a5.camel@telus.net>
Max Chernoff via ntg-context schrieb am 29.09.2022 um 02:17:
> 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
You can use \setuplanguage to change the values.
\setuplanguage
[de]
[ lefthyphenmin=2,
righthyphenmin=2]
Wolfgang
___________________________________________________________________________________
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 4:10 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
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 [this message]
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=ee3adcc0-4fc2-45df-ae03-57e9978b14fd@gmail.com \
--to=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/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).