ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: Re: Hyphenation patterns
Date: Fri, 9 Oct 2020 10:59:16 +0200	[thread overview]
Message-ID: <8aace9b9-efe5-b652-2e6b-b611e23b7ee0@xs4all.nl> (raw)
In-Reply-To: <996CFED2-BF77-4D29-B09E-81395ECF3939@fiee.net>

On 10/9/2020 10:15 AM, Henning Hraban Ramm wrote:
> 
> 
>> Am 09.10.2020 um 08:52 schrieb Denis Maier <denismaier@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	other threads:[~2020-10-09  8:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 15:41 Denis Maier
2020-10-08 16:20 ` Tomas Hala
2020-10-08 17:05 ` Henning Hraban Ramm
2020-10-09  6:52   ` Denis Maier
2020-10-09  6:57     ` Taco Hoekwater
2020-10-09  7:01       ` Denis Maier
2020-10-09 12:48         ` Hans Hagen
2020-10-09 12:59           ` Denis Maier
2020-10-09  8:15     ` Henning Hraban Ramm
2020-10-09  8:59       ` Hans Hagen [this message]
2021-04-09 21:57       ` Arthur Rosendahl
2020-10-09  8:54   ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2010-05-23 23:22 hyphenation patterns Rogutės Sparnuotos
2010-05-23 21:38 ` Mojca Miklavec
     [not found]   ` <4BF9AE8A.6040405@gmail.com>
2010-05-24  0:16     ` Mojca Miklavec
2010-05-24  8:17       ` Hans Hagen
2010-05-24 18:52       ` rogutes
2010-05-24 14:50   ` luigi scarso

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=8aace9b9-efe5-b652-2e6b-b611e23b7ee0@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --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).