ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Disappearing characters with nolig-german-wordlist
@ 2020-10-08 10:02 Denis Maier
  2020-10-08 11:04 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Denis Maier @ 2020-10-08 10:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

Hi,

I do as adviced on the Wiki and input the nolig-german-wordlist.tex to 
suppress wrong ligatures. However, I'm seeing strange results:

```
\input nolig-german-wordlist.tex

\starttext
auffasste
auffasse
\stoptext
```

gives me "auffasse auffasse" (see attachment.)

I don't really understand what is happening here. Why is the t 
disappearing.

```
\replaceword[eka][auffasse][au{ff}asse]
\replaceword[eka][auffasste][au{ff}asste]
\setreplacements[eka]

\starttext
auffasste
auffasse
\stoptext
```

This example gives correct results.

Denis




[-- Attachment #2: disappearing-character.PNG --]
[-- Type: image/png, Size: 5615 bytes --]

[-- Attachment #3: 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] 8+ messages in thread

* Re: Disappearing characters with nolig-german-wordlist
  2020-10-08 10:02 Disappearing characters with nolig-german-wordlist Denis Maier
@ 2020-10-08 11:04 ` Hans Hagen
  2020-10-08 11:19   ` Henning Hraban Ramm
       [not found]   ` <b8550764-3857-1f55-0505-72c06c782ef3@mailbox.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2020-10-08 11:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Denis Maier

On 10/8/2020 12:02 PM, Denis Maier wrote:
> Hi,
> 
> I do as adviced on the Wiki and input the nolig-german-wordlist.tex to 
> suppress wrong ligatures. However, I'm seeing strange results:
> 
> ```
> \input nolig-german-wordlist.tex
> 
> \starttext
> auffasste
> auffasse
> \stoptext
> ```
> 
> gives me "auffasse auffasse" (see attachment.)
> 
> I don't really understand what is happening here. Why is the t 
> disappearing.

who knows ... i don't have that file

> ```
> \replaceword[eka][auffasse][au{ff}asse]
> \replaceword[eka][auffasste][au{ff}asste]
> \setreplacements[eka]
> 
> \starttext
> auffasste
> auffasse
> \stoptext
> ```
> 
> This example gives correct results.
so we're okay

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] 8+ messages in thread

* Re: Disappearing characters with nolig-german-wordlist
  2020-10-08 11:04 ` Hans Hagen
@ 2020-10-08 11:19   ` Henning Hraban Ramm
       [not found]   ` <b8550764-3857-1f55-0505-72c06c782ef3@mailbox.org>
  1 sibling, 0 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2020-10-08 11:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 08.10.2020 um 13:04 schrieb Hans Hagen <j.hagen@xs4all.nl>:
> 
> On 10/8/2020 12:02 PM, Denis Maier wrote:
>> Hi,
>> I do as adviced on the Wiki and input the nolig-german-wordlist.tex to suppress wrong ligatures. However, I'm seeing strange results:
>> ```
>> \input nolig-german-wordlist.tex
>> \starttext
>> auffasste
>> auffasse
>> \stoptext
>> ```
>> gives me "auffasse auffasse" (see attachment.)
>> I don't really understand what is happening here. Why is the t disappearing.
> 
> who knows ... i don't have that file

It was from my projects (eka = Edition Kritische Ausgabe, a series by Verlag Dreiviertelhaus).

(I didn’t remember I uploaded it to the wiki, tried to send it here, but it was too big.)


>> ```
>> \replaceword[eka][auffasse][au{ff}asse]
>> \replaceword[eka][auffasste][au{ff}asste]
>> \setreplacements[eka]
>> \starttext
>> auffasste
>> auffasse
>> \stoptext
>> ```
>> This example gives correct results.
> so we're okay

Good luck!

Hraban

___________________________________________________________________________________
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] 8+ messages in thread

* Re: Disappearing characters with nolig-german-wordlist
       [not found]   ` <b8550764-3857-1f55-0505-72c06c782ef3@mailbox.org>
@ 2020-10-08 11:49     ` Denis Maier
  2020-10-08 13:15       ` Denis Maier
  0 siblings, 1 reply; 8+ messages in thread
From: Denis Maier @ 2020-10-08 11:49 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users


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

Am 08.10.2020 um 13:04 schrieb Hans Hagen:
> On 10/8/2020 12:02 PM, Denis Maier wrote:
>> Hi,
>>
>> I do as adviced on the Wiki and input the nolig-german-wordlist.tex 
>> to suppress wrong ligatures. However, I'm seeing strange results:
>>
>> ```
>> \input nolig-german-wordlist.tex
>>
>> \starttext
>> auffasste
>> auffasse
>> \stoptext
>> ```
>>
>> gives me "auffasse auffasse" (see attachment.)
>>
>> I don't really understand what is happening here. Why is the t 
>> disappearing.
>
> who knows ... i don't have that file
I took it from the wiki: 
http://wiki.contextgarden.net/images/b/be/nolig-german-wordlist.tex
That's why I didn't attached it to the mail (and, it's too big to post 
here).

>> ```
>> \replaceword[eka][auffasse][au{ff}asse]
>> \replaceword[eka][auffasste][au{ff}asste]
>> \setreplacements[eka]
>>
>> \starttext
>> auffasste
>> auffasse
>> \stoptext
>> ```
>>
>> This example gives correct results.
> so we're okay
Yes, but it looks like there's something strange going on with that list 
of replacements. (And it's most likely not the works that is getting 
replaced.)

Best,
Denis

[-- Attachment #1.2: Type: text/html, Size: 2225 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] 8+ messages in thread

* Re: Disappearing characters with nolig-german-wordlist
  2020-10-08 11:49     ` Denis Maier
@ 2020-10-08 13:15       ` Denis Maier
  2020-10-09 10:05         ` Denis Maier
  2020-10-09 16:13         ` Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Denis Maier @ 2020-10-08 13:15 UTC (permalink / raw)
  To: ntg-context

Ok,
I've commented the whole nolig-german-wordlist out piece by piece, and 
it looks like it comes down to this:

```
\replaceword[eka][auffasse][au{ff}asse]
\replaceword[eka][auffasst][au{ff}asst]

\setreplacements[eka]

\starttext
auffasste
auffasse
\stoptext
```

Uncommenting one of the \replacewords makes the wrong replacement disappear.
But I don't see why "auffasste" should trigger an replacement. What is 
happening here?

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
___________________________________________________________________________________

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

* Re: Disappearing characters with nolig-german-wordlist
  2020-10-08 13:15       ` Denis Maier
@ 2020-10-09 10:05         ` Denis Maier
  2020-10-09 12:45           ` Denis Maier
  2020-10-09 16:13         ` Hans Hagen
  1 sibling, 1 reply; 8+ messages in thread
From: Denis Maier @ 2020-10-09 10:05 UTC (permalink / raw)
  To: ntg-context


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

Next try,

the compact syntax gives the same weird result:

```
\replaceword[replace][au{ff}asse au{ff}asst]


\setreplacements[replace]


\starttext

auffasste


auffasse

\stoptext

```


I would really like to have correct ligatures. What can I do to help 
finding the reason for this? (Or is it obvious, and I'm just not seeing it?


Best,

Denis



Am 08.10.2020 um 15:15 schrieb Denis Maier:
> Ok,
> I've commented the whole nolig-german-wordlist out piece by piece, and 
> it looks like it comes down to this:
>
> ```
> \replaceword[eka][auffasse][au{ff}asse]
> \replaceword[eka][auffasst][au{ff}asst]
>
> \setreplacements[eka]
>
> \starttext
> auffasste
> auffasse
> \stoptext
> ```
>
> Uncommenting one of the \replacewords makes the wrong replacement 
> disappear.
> But I don't see why "auffasste" should trigger an replacement. What is 
> happening here?
>
> 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
> ___________________________________________________________________________________ 
>


[-- Attachment #1.2: Type: text/html, Size: 4653 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] 8+ messages in thread

* Re: Disappearing characters with nolig-german-wordlist
  2020-10-09 10:05         ` Denis Maier
@ 2020-10-09 12:45           ` Denis Maier
  0 siblings, 0 replies; 8+ messages in thread
From: Denis Maier @ 2020-10-09 12:45 UTC (permalink / raw)
  To: ntg-context


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

Arg, it's getting uglier...

I've been playing around with the replacement patterns.

```
\replaceword[replace][auff][au{ff}]

\replaceword[replace][Aufl][Au{fl}]

\replaceword[replace][aufl][au{fl}]


\setreplacements[replace]


\starttext

auffasste


auffasse


Auflage


aufliegen


auffliegen

\stoptext

```


Now it's fine for the auffasste case, but both "aufliegen" and 
"auffliegen" result in "aufliegen",  i.e. the second f is being swallowed.


Best,

Denis



Am 09.10.2020 um 12:05 schrieb Denis Maier:
> Next try,
>
> the compact syntax gives the same weird result:
>
> ```
> \replaceword[replace][au{ff}asse au{ff}asst]
>
>
> \setreplacements[replace]
>
>
> \starttext
>
> auffasste
>
>
> auffasse
>
> \stoptext
>
> ```
>
>
> I would really like to have correct ligatures. What can I do to help 
> finding the reason for this? (Or is it obvious, and I'm just not 
> seeing it?
>
>
> Best,
>
> Denis
>
>
>
> Am 08.10.2020 um 15:15 schrieb Denis Maier:
>> Ok,
>> I've commented the whole nolig-german-wordlist out piece by piece, 
>> and it looks like it comes down to this:
>>
>> ```
>> \replaceword[eka][auffasse][au{ff}asse]
>> \replaceword[eka][auffasst][au{ff}asst]
>>
>> \setreplacements[eka]
>>
>> \starttext
>> auffasste
>> auffasse
>> \stoptext
>> ```
>>
>> Uncommenting one of the \replacewords makes the wrong replacement 
>> disappear.
>> But I don't see why "auffasste" should trigger an replacement. What 
>> is happening here?
>>
>> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 10071 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] 8+ messages in thread

* Re: Disappearing characters with nolig-german-wordlist
  2020-10-08 13:15       ` Denis Maier
  2020-10-09 10:05         ` Denis Maier
@ 2020-10-09 16:13         ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2020-10-09 16:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Denis Maier

On 10/8/2020 3:15 PM, Denis Maier wrote:
> Ok,
> I've commented the whole nolig-german-wordlist out piece by piece, and 
> it looks like it comes down to this:
> 
> ```
> \replaceword[eka][auffasse][au{ff}asse]
> \replaceword[eka][auffasst][au{ff}asst]
> 
> \setreplacements[eka]
> 
> \starttext
> auffasste
> auffasse
> \stoptext
> ```
> 
> Uncommenting one of the \replacewords makes the wrong replacement 
> disappear.
> But I don't see why "auffasste" should trigger an replacement. What is 
> happening here?

i will look into it ... so patience is needed

-----------------------------------------------------------------
                                           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] 8+ messages in thread

end of thread, other threads:[~2020-10-09 16:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 10:02 Disappearing characters with nolig-german-wordlist Denis Maier
2020-10-08 11:04 ` Hans Hagen
2020-10-08 11:19   ` Henning Hraban Ramm
     [not found]   ` <b8550764-3857-1f55-0505-72c06c782ef3@mailbox.org>
2020-10-08 11:49     ` Denis Maier
2020-10-08 13:15       ` Denis Maier
2020-10-09 10:05         ` Denis Maier
2020-10-09 12:45           ` Denis Maier
2020-10-09 16:13         ` 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).