ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Hraban Ramm <texml@fiee.net>
Subject: [NTG-context] Re: ck hyphenation in old German orthography
Date: Mon, 18 Mar 2024 00:02:34 +0100	[thread overview]
Message-ID: <5d59d05c-d46e-b5f6-3e1a-cc26bbf526b5@gmail.com> (raw)
In-Reply-To: <d9d050f4-b88a-4501-a8a5-d7e63347ef01@fiee.net>

Hraban Ramm schrieb am 17.03.2024 um 12:06:
> Hi, the sample file aesop-de is in old German orthography, there, ck 
> should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t 
> hyphenated at all). Is there something I can configure?
> 
> Hraban
> 
> 
> \mainlanguage[deo]
> \setuplanguage[deo][
>    hyphenmin=4,
>    lefthyphenmin=2,
>    righthyphenmin=2,
> ]
> 
> \starttext
> 
> \hyphenatedfile{aesop-de}
> 
> \startcolumns
> Funktioniert die Trennung? Heckeneckenzecken
> 
> \samplefile{aesop-de}
> 
> \stopcolumns
> 
> \stoptext

Just as a start, the languages manual provides more details about 
hyphenation.

\startexceptions[de]
He{k-}{k}{ck}en-e{k-}{k}{ck}en-ze{k-}{k}{ck}en
\stopexceptions

% \registerhyphenationpattern[de][c1k/k=k]
%
% \setuphyphenation[method=traditional]

\mainlanguage[de]

\starttext
Heckeneckenzecken = \hyphenatedword{Heckeneckenzecken}
\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-03-17 23:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-17 11:06 [NTG-context] " Hraban Ramm
2024-03-17 23:02 ` Wolfgang Schuster [this message]
2024-03-18 18:48   ` [NTG-context] " Hraban Ramm

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=5d59d05c-d46e-b5f6-3e1a-cc26bbf526b5@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.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).