ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyphenation again
@ 2020-10-09 14:38 Denis Maier
       [not found] ` <f24be116-3cfc-4607-e32b-813dab1fe9f4@panix.com>
  2021-06-06 16:11 ` Steffen Wolfrum
  0 siblings, 2 replies; 5+ messages in thread
From: Denis Maier @ 2020-10-09 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 406 bytes --]

Hi,
another weird thing:
In this example I use  \startexceptions to set hyphenation exceptions:

```
\mainlanguage[en]

\startexceptions[en]

appli-ca​ble

obli-gated

\stopexceptions


\setuplayout[width=1cm]


\starttext

\currentmainlanguage


\currentlanguage


\hyphenatedword{applicable}


applicable


\hyphenatedword{obligated}


obligated

\stoptext

```


What am I missing?


Best,

Denis




[-- Attachment #1.2: Type: text/html, Size: 4623 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hyphenation again
       [not found] ` <f24be116-3cfc-4607-e32b-813dab1fe9f4@panix.com>
@ 2020-10-09 14:54   ` Denis Maier
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Maier @ 2020-10-09 14:54 UTC (permalink / raw)
  To: Rik Kabel; +Cc: mailing list for ConTeXt users

Am 09.10.2020 um 16:49 schrieb Rik Kabel:
> Denis
>
> You have a hex 200b after ca below.
>
> On 10/9/2020 10:38, Denis Maier wrote:
>> appli-ca​ble

Thanks, that was it.
You shall never copy from a website ... You shall never copy from a 
website... etc.

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hyphenation again
  2020-10-09 14:38 Hyphenation again Denis Maier
       [not found] ` <f24be116-3cfc-4607-e32b-813dab1fe9f4@panix.com>
@ 2021-06-06 16:11 ` Steffen Wolfrum
  2021-06-06 16:29   ` Rik Kabel
  1 sibling, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2021-06-06 16:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

yet another strange thing: «ap-plic-»????

See code below, Steffen


\mainlanguage[en]

\startexceptions[en]
appli-ca​ble
obli-gated
\stopexceptions

\startexceptions[de]
appli-ca​ble
obli-gated
\stopexceptions

\startexceptions[it]
appli-ca​ble
obli-gated
\stopexceptions

\setuplayout[width=1cm]


\starttext

\currentmainlanguage

\currentlanguage

\hyphenatedword{applicable}

applicable

\hyphenatedword{obligated}

obligated

\blank

\language[de]

\currentmainlanguage

\currentlanguage

\hyphenatedword{applicable}

applicable

\hyphenatedword{obligated}

obligated

\blank


\mainlanguage[de]

\currentmainlanguage

\currentlanguage

\hyphenatedword{applicable}

applicable

\hyphenatedword{obligated}

obligated


\stoptext




> Am 09.10.2020 um 16:38 schrieb Denis Maier <denismaier@mailbox.org>:
> 
> Hi,
> another weird thing:
> In this example I use  \startexceptions to set hyphenation exceptions: 
> 
> ```
> \mainlanguage[en]
> \startexceptions[en]
> appli-ca​ble
> obli-gated
> \stopexceptions
> 
> \setuplayout[width=1cm]
> 
> \starttext
> \currentmainlanguage
> 
> \currentlanguage
> 
> \hyphenatedword{applicable}
> 
> applicable
> 
> \hyphenatedword{obligated}
> 
> obligated
> \stoptext
> ```
> 
> What am I missing?
> 
> Best,
> Denis
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hyphenation again
  2021-06-06 16:11 ` Steffen Wolfrum
@ 2021-06-06 16:29   ` Rik Kabel
  2021-06-06 20:02     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Rik Kabel @ 2021-06-06 16:29 UTC (permalink / raw)
  To: ntg-context, Steffen Wolfrum


[-- Attachment #1.1: Type: text/plain, Size: 1879 bytes --]


On 6/6/2021 12:11, Steffen Wolfrum wrote:
> Hi,
>
> yet another strange thing: «ap-plic-»????
>
> See code below, Steffen
>
>
> \mainlanguage[en]
>
> \startexceptions[en]
> appli-ca​ble
> obli-gated
> \stopexceptions
>
> \startexceptions[de]
> appli-ca​ble
> obli-gated
> \stopexceptions
>
> \startexceptions[it]
> appli-ca​ble
> obli-gated
> \stopexceptions
>
> \setuplayout[width=1cm]
>
>
> \starttext
>
> \currentmainlanguage
>
> \currentlanguage
>
> \hyphenatedword{applicable}
>
> applicable
>
> \hyphenatedword{obligated}
>
> obligated
>
> \blank
>
> \language[de]
>
> \currentmainlanguage
>
> \currentlanguage
>
> \hyphenatedword{applicable}
>
> applicable
>
> \hyphenatedword{obligated}
>
> obligated
>
> \blank
>
>
> \mainlanguage[de]
>
> \currentmainlanguage
>
> \currentlanguage
>
> \hyphenatedword{applicable}
>
> applicable
>
> \hyphenatedword{obligated}
>
> obligated
>
>
> \stoptext
>
>
>
>
>> Am 09.10.2020 um 16:38 schrieb Denis Maier <denismaier@mailbox.org>:
>>
>> Hi,
>> another weird thing:
>> In this example I use  \startexceptions to set hyphenation exceptions:
>>
>> ```
>> \mainlanguage[en]
>> \startexceptions[en]
>> appli-ca​ble
>> obli-gated
>> \stopexceptions
>>
>> \setuplayout[width=1cm]
>>
>> \starttext
>> \currentmainlanguage
>>
>> \currentlanguage
>>
>> \hyphenatedword{applicable}
>>
>> applicable
>>
>> \hyphenatedword{obligated}
>>
>> obligated
>> \stoptext
>> ```
>>
>> What am I missing?
>>
>> Best,
>> Denis

When I edit this example with Vim, I see, in part:

    \startexceptions[en]
    appli-ca<200b>ble
    obli-gated
    \stopexceptions

    \startexceptions[de]
    appli-ca<200b>ble
    obli-gated
    \stopexceptions

    \startexceptions[it]
    appli-ca<200b>ble
    obli-gated
    \stopexceptions

So it seems that the answer remains the same from when Denis posted a 
similar question a few months ago.

-- 
Rik


[-- Attachment #1.2: Type: text/html, Size: 2627 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Hyphenation again
  2021-06-06 16:29   ` Rik Kabel
@ 2021-06-06 20:02     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2021-06-06 20:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Rik Kabel, Steffen Wolfrum

On 6/6/2021 6:29 PM, Rik Kabel wrote:
> 
> On 6/6/2021 12:11, Steffen Wolfrum wrote:
>> Hi,
>>
>> yet another strange thing: «ap-plic-»????
>>
>> See code below, Steffen
>>
>>
>> \mainlanguage[en]
>>
>> \startexceptions[en]
>> appli-ca​ble
>> obli-gated
>> \stopexceptions
>>
>> \startexceptions[de]
>> appli-ca​ble
>> obli-gated
>> \stopexceptions
>>
>> \startexceptions[it]
>> appli-ca​ble
>> obli-gated
>> \stopexceptions
>>
>> \setuplayout[width=1cm]
>>
>>
>> \starttext
>>
>> \currentmainlanguage
>>
>> \currentlanguage
>>
>> \hyphenatedword{applicable}
>>
>> applicable
>>
>> \hyphenatedword{obligated}
>>
>> obligated
>>
>> \blank
>>
>> \language[de]
>>
>> \currentmainlanguage
>>
>> \currentlanguage
>>
>> \hyphenatedword{applicable}
>>
>> applicable
>>
>> \hyphenatedword{obligated}
>>
>> obligated
>>
>> \blank
>>
>>
>> \mainlanguage[de]
>>
>> \currentmainlanguage
>>
>> \currentlanguage
>>
>> \hyphenatedword{applicable}
>>
>> applicable
>>
>> \hyphenatedword{obligated}
>>
>> obligated
>>
>>
>> \stoptext
>>
>>
>>
>>
>>> Am 09.10.2020 um 16:38 schrieb Denis Maier<denismaier@mailbox.org>:
>>>
>>> Hi,
>>> another weird thing:
>>> In this example I use  \startexceptions to set hyphenation exceptions:
>>>
>>> ```
>>> \mainlanguage[en]
>>> \startexceptions[en]
>>> appli-ca​ble
>>> obli-gated
>>> \stopexceptions
>>>
>>> \setuplayout[width=1cm]
>>>
>>> \starttext
>>> \currentmainlanguage
>>>
>>> \currentlanguage
>>>
>>> \hyphenatedword{applicable}
>>>
>>> applicable
>>>
>>> \hyphenatedword{obligated}
>>>
>>> obligated
>>> \stoptext
>>> ```
>>>
>>> What am I missing?
>>>
>>> Best,
>>> Denis
> 
> When I edit this example with Vim, I see, in part:
> 
>     \startexceptions[en]
>     appli-ca<200b>ble
>     obli-gated
>     \stopexceptions
> 
>     \startexceptions[de]
>     appli-ca<200b>ble
>     obli-gated
>     \stopexceptions
> 
>     \startexceptions[it]
>     appli-ca<200b>ble
>     obli-gated
>     \stopexceptions
> 
> So it seems that the answer remains the same from when Denis posted a 
> similar question a few months ago.

indeed, i just wasted an hour figuring out that there is some non letter 
in there; so there will never be a match (exception words get simplified 
to a key that is used in the lookup .. a \zwj or \zwnj can be used if 
needed but in the meantime there is a more sophisticated mechanism

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-06 20:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09 14:38 Hyphenation again Denis Maier
     [not found] ` <f24be116-3cfc-4607-e32b-813dab1fe9f4@panix.com>
2020-10-09 14:54   ` Denis Maier
2021-06-06 16:11 ` Steffen Wolfrum
2021-06-06 16:29   ` Rik Kabel
2021-06-06 20:02     ` Hans Hagen

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).