On 10/9/2020 10:15 AM, Henning Hraban Ramm wrote:


Am 09.10.2020 um 08:52 schrieb Denis Maier <denisma...@mailbox.org>:

Am 08.10.2020 um 19:05 schrieb Henning Hraban Ramm:
\starttext

{EN: \en\hyphenatedcoloredword{applicable}}

{DE: \de\hyphenatedcoloredword{applicable}}

\stoptext

Wow, that's super helpful.

BTW \hyphenatedword works the same. I didn’t see anything colored.
There are some more commands like this, even \hyphenatedfile, see
https://source.contextgarden.net/tex/context/base/mkiv/supp-box.mkiv?search=hyphenated

Usually Arthur’s (hail the emperor of hyphenation and protector of the 
patterns) patterns are flawless, so I guess it’s not a bug but an exception of 
the rules.
ancient secret features:

>mtxrun --script patterns --hyphenate applicable --language=gb
hyphenator      |
hyphenator      | . a p p l i c a b l e .   . a p p l i c a b l e .
hyphenator      |  2a0p0                     2 0 0 0 0 0 0 0 0 0 0
hyphenator      |    4p1p2                   2 4 1 2 0 0 0 0 0 0 0
hyphenator      |      0p2l2                 2 4 1 2 2 0 0 0 0 0 0
hyphenator      |              1a0b0         2 4 1 2 2 0 1 0 0 0 0
hyphenator      |                2b0l2       2 4 1 2 2 0 1 2 0 2 0
hyphenator      |                  4l0e0.0   2 4 1 2 2 0 1 2 4 2 0
hyphenator      | .2a4p1p2l2i0c1a2b4l2e0.   . a p-p l i c-a b l e .
hyphenator      |
mtx-patterns    | gb 3 3 : applicable : applic-able

>mtxrun --script patterns --hyphenate applicable --language=us
hyphenator      |
hyphenator      | . a p p l i c a b l e .   . a p p l i c a b l e .
hyphenator      |    4p1p0                   0 4 1 0 0 0 0 0 0 0 0
hyphenator      |      1p2l2                 0 4 1 2 2 0 0 0 0 0 0
hyphenator      |      0p0l0i2c1a0b0         0 4 1 2 2 2 1 0 0 0 0
hyphenator      |            1c0a0           0 4 1 2 2 2 1 0 0 0 0
hyphenator      |            0c0a1b0l0       0 4 1 2 2 2 1 1 0 0 0
hyphenator      |                0b2l2       0 4 1 2 2 2 1 1 2 2 0
hyphenator      |                0b4l0e0.0   0 4 1 2 2 2 1 1 4 2 0
hyphenator      | .0a4p1p2l2i2c1a1b4l2e0.   . a p-p l i c-a-b l e .
hyphenator      |
mtx-patterns    | us 3 3 : applicable : applic-a-ble

not the kind of stuff one wants to expose a new user to

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Reply via email to