ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Losing a character during line break at a hyphen
@ 2021-08-21 23:12 Bruce Horrocks via ntg-context
  2021-08-21 23:27 ` Bruce Horrocks via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-08-21 23:12 UTC (permalink / raw)
  To: ntg-context; +Cc: Bruce Horrocks


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

Not sure whether this is a ligature problem or a hyphenation problem or both!

In the following MWE, the line breaks at the hyphen following "Diffe", but one
of the f's is lost so the PDF shows "Dife-".

Latest LMTX, version 2021.08.19 19:48

\starttext
Twenty years after receiving it as a Christmas present, I have finally got
around to reading The Code Book by Simon Singh. Written in 1999, when
E-commerce was still relatively new, the book provides accessible explanations
of the workings of Diffe-Hellman-Merkle key exchange, and Rivest, Shamir and
Adleman (RSA) public-key cryptography.
\stoptext

Output PDF attached.
—
Bruce Horrocks
Hampshire, UK

[-- Attachment #1.2.1: Type: text/html, Size: 1099 bytes --]

[-- Attachment #1.2.2: test.pdf --]
[-- Type: application/pdf, Size: 10074 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 217 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: Losing a character during line break at a hyphen
  2021-08-21 23:12 Losing a character during line break at a hyphen Bruce Horrocks via ntg-context
@ 2021-08-21 23:27 ` Bruce Horrocks via ntg-context
  2021-08-22  3:59   ` Richard Mahoney via ntg-context
  2021-08-22  9:27   ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-08-21 23:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks



> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Not sure whether this is a ligature problem or a hyphenation problem or both!

Smaller MWE - it's not hyphenation:

\starttext Diffe \stoptext

gives "Dife".

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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: Losing a character during line break at a hyphen
  2021-08-21 23:27 ` Bruce Horrocks via ntg-context
@ 2021-08-22  3:59   ` Richard Mahoney via ntg-context
  2021-08-22  9:27   ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Mahoney via ntg-context @ 2021-08-22  3:59 UTC (permalink / raw)
  To: ntg-context; +Cc: Richard Mahoney


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

List,

I can confirm that this is also an issue for me with LMTX-20210819;
"off" is typeset as "of". Is this an problem with ligatures?


Best, Richard



-- 
T +6433121699  M +64210640216  E rmahoney@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/

Indica et Buddhica  Littledene  Bay Road  Oxford  NZ

-----Original Message-----
From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: Re: [NTG-context] Losing a character during line break at a
hyphen
Date: Sun, 22 Aug 2021 00:27:02 +0100
Mailer: Apple Mail (2.3654.120.0.1.13)
X-Spam-Score: 0.0



> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context
> <ntg-context@ntg.nl> wrote:
> 
> Not sure whether this is a ligature problem or a hyphenation problem
> or both!

Smaller MWE - it's not hyphenation:

\starttext Diffe \stoptext

gives "Dife".

—
Bruce Horrocks
Hampshire, UK

______________________________________________________________________
_____________
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: 3580 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: Losing a character during line break at a hyphen
  2021-08-21 23:27 ` Bruce Horrocks via ntg-context
  2021-08-22  3:59   ` Richard Mahoney via ntg-context
@ 2021-08-22  9:27   ` Hans Hagen via ntg-context
  2021-08-22 13:11     ` Bruce Horrocks via ntg-context
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-22  9:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/22/2021 1:27 AM, Bruce Horrocks via ntg-context wrote:
> 
> 
>> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> Not sure whether this is a ligature problem or a hyphenation problem or both!
> 
> Smaller MWE - it's not hyphenation:
> 
> \starttext Diffe \stoptext
> 
> gives "Dife".
if you're in a hurry you can patch font-ots.lmt, line 922

             ligature = ligature.ligature
         else
             ligature = ligature.ligature
         end

and remake the format

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

* Re: Losing a character during line break at a hyphen
  2021-08-22  9:27   ` Hans Hagen via ntg-context
@ 2021-08-22 13:11     ` Bruce Horrocks via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-08-22 13:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks



> On 22 Aug 2021, at 10:27, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 8/22/2021 1:27 AM, Bruce Horrocks via ntg-context wrote:
>>> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
>>> 
>>> Not sure whether this is a ligature problem or a hyphenation problem or both!
>> Smaller MWE - it's not hyphenation:
>> \starttext Diffe \stoptext
>> gives "Dife".
> if you're in a hurry you can patch font-ots.lmt, line 922
> 
>            ligature = ligature.ligature
>        else
>            ligature = ligature.ligature
>        end
> 
> and remake the format

Thanks Hans, your patch is working for me.

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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-08-22 13:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 23:12 Losing a character during line break at a hyphen Bruce Horrocks via ntg-context
2021-08-21 23:27 ` Bruce Horrocks via ntg-context
2021-08-22  3:59   ` Richard Mahoney via ntg-context
2021-08-22  9:27   ` Hans Hagen via ntg-context
2021-08-22 13:11     ` Bruce Horrocks via ntg-context

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