From: Steffen Wolfrum via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Steffen Wolfrum <context@st.estfiles.de>
Subject: Fwd: Hyphenation in multi-language projects
Date: Mon, 24 Oct 2022 15:08:14 +0200 [thread overview]
Message-ID: <9FE46047-E88F-4323-8848-EDC0AF01E178@st.estfiles.de> (raw)
In-Reply-To: <62902e59-4e5b-7b7b-3ca7-54008803c6f6@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 2058 bytes --]
> Anfang der weitergeleiteten Nachricht:
>
> Von: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>
> Betreff: Aw: [NTG-context] Hyphenation in multi-language projects
> Datum: 14. September 2022 um 19:40:53 MESZ
> An: Denis Maier via ntg-context <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>
> Kopie: Pablo Rodriguez <oinos@gmx.es <mailto:oinos@gmx.es>>
> Antwort an: mailing list for ConTeXt users <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>
>
> On 9/14/22 16:54, Denis Maier via ntg-context wrote:
>>> [...]
>>> Isn’t there a way to list exceptions that will work in *all*
>>> languages?
>>
>> I thought that \hyphenation would work like that, or \startexceptions
>> without a language code. Apparently that's not the case.
>
> \hyphenation only works for the given language:
>
> \hyphenation{macOS}
> \starttext
> \startTEXpage[offset=1em]
> \currentlanguage:
> \hyphenatedword{macOS}
>
> \startlanguage[fr]
> \currentlanguage:
> \hyphenatedword{macOS}
> \stoplanguage
> \stopTEXpage
> \stoptext
>
> But I’d say that \registerhyphenationexception[macOS] was
> language-independent for me some time ago. (Now it seems to work like
> \hyphenation.)
>
> In any case, \registerhyphenationexception seems to have issues with
> ligatures:
>
> \setuphyphenation[method=traditional]
> \registerhyphenationexception[steff-en macOS]
> \registerhyphenationexception[it][steff-en macOS]
>
> \starttext
> \startTEXpage[offset=1em]
> \currentlanguage:
> \hyphenatedword{steffen macOS}
>
> \startlanguage[it]
> \currentlanguage:
> \hyphenatedword{steffen macOS}
> \stoplanguage
> \stopTEXpage
> \stoptext
>
> If there isn’t a command to add language-indepented hyphenation
> exceptions or patterns, one for proper names (for people, products or
> companies) would be really useful.
>
> Just in case Hans or other wizard may take a look at this,
>
> Pablo
Hans, is there any news regarding Pablos wish?
Steffen
[-- Attachment #1.2: Type: text/html, Size: 5734 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
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-10-24 13:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 15:11 Steffen Wolfrum via ntg-context
2022-09-12 15:45 ` Denis Maier via ntg-context
2022-09-14 6:35 ` Max Chernoff via ntg-context
2022-09-14 6:40 ` Steffen Wolfrum via ntg-context
2022-09-14 6:50 ` Max Chernoff via ntg-context
2022-09-14 7:19 ` Denis Maier via ntg-context
2022-09-14 14:44 ` Steffen Wolfrum via ntg-context
2022-09-14 14:54 ` Denis Maier via ntg-context
2022-09-14 17:38 ` Steffen Wolfrum via ntg-context
2022-09-14 17:40 ` Pablo Rodriguez via ntg-context
2022-10-24 13:08 ` Steffen Wolfrum via ntg-context [this message]
2022-10-24 15:09 ` Fwd: " Hans Hagen via ntg-context
2022-10-24 16:15 ` Pablo Rodriguez 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=9FE46047-E88F-4323-8848-EDC0AF01E178@st.estfiles.de \
--to=ntg-context@ntg.nl \
--cc=context@st.estfiles.de \
/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).