* Hyphen collapsing
@ 2021-05-07 4:47 Thangalin
2021-05-07 15:12 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Thangalin @ 2021-05-07 4:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 526 bytes --]
Not sure if this is a regression:
% SOF
\nohyphencollapsing
\setuphead[chapter][align={nothyphenated}]
\starttext
\chapter{Such --- Emdashery}
\stoptext
% EOF
Expected: No collapsed hyphens.
Actual: Hyphens are collapsed.
Workaround: Remove the nothyphenated option or insert \nohyphencollapsing
into the \chapter command.
Is there another way to prevent collapsing hyphens with a single setting
that applies to the entire document?
The hyphens did not collapse in the previous version.
Current version: 2021.05.06
[-- Attachment #1.2: Type: text/html, Size: 745 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] 4+ messages in thread
* Re: Hyphen collapsing
2021-05-07 4:47 Hyphen collapsing Thangalin
@ 2021-05-07 15:12 ` Hans Hagen
2021-05-07 17:15 ` Thangalin
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2021-05-07 15:12 UTC (permalink / raw)
To: mailing list for ConTeXt users, Thangalin
On 5/7/2021 6:47 AM, Thangalin wrote:
> Not sure if this is a regression:
>
> % SOF
> \nohyphencollapsing
>
> \setuphead[chapter][align={nothyphenated}]
>
> \starttext
> \chapter{Such --- Emdashery}
> \stoptext
> % EOF
>
> Expected: No collapsed hyphens.
>
> Actual: Hyphens are collapsed.
>
> Workaround: Remove the nothyphenated option or insert
> \nohyphencollapsing into the \chapter command.
>
> Is there another way to prevent collapsing hyphens with a single setting
> that applies to the entire document?
>
> The hyphens did not collapse in the previous version.
they did when a font had the tlig feature enabled
i'll add a key:
\setuphead[chapter][align={nothyphenated,notcollapsed}]
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] 4+ messages in thread
* Re: Hyphen collapsing
2021-05-07 15:12 ` Hans Hagen
@ 2021-05-07 17:15 ` Thangalin
2021-05-07 17:27 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Thangalin @ 2021-05-07 17:15 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 475 bytes --]
\setuphead[chapter][align={nothyphenated,notcollapsed}]
Would that mean there's no way to collapse the hyphenation throughout the
entire document from a single location? That is:
\nohyphencollapsing
\setuphead[section][align={nothyphenated,notcollapsed}]
\setuphead[subsection][align={nothyphenated,notcollapsed}]
\setuphead[subsubsection][align={nothyphenated,notcollapsed}]
Would "\nohyphencollapsing[head=yes]" allow the setting to apply once to
all areas?
Thank you!
[-- Attachment #1.2: Type: text/html, Size: 807 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] 4+ messages in thread
* Re: Hyphen collapsing
2021-05-07 17:15 ` Thangalin
@ 2021-05-07 17:27 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2021-05-07 17:27 UTC (permalink / raw)
To: Thangalin; +Cc: mailing list for ConTeXt users
On 5/7/2021 7:15 PM, Thangalin wrote:
> \setuphead[chapter][align={nothyphenated,notcollapsed}]
> Would that mean there's no way to collapse the hyphenation throughout
> the entire document from a single location? That is:
>
> \nohyphencollapsing
> \setuphead[section][align={nothyphenated,notcollapsed}]
> \setuphead[subsection][align={nothyphenated,notcollapsed}]
> \setuphead[subsubsection][align={nothyphenated,notcollapsed}]
>
> Would "\nohyphencollapsing[head=yes]" allow the setting to apply once to
> all areas?
\setuphead[align={nothyphenated,notcollapsed}]
At some point I'll add some language related settings but first I'll
need to think of the best way.
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] 4+ messages in thread
end of thread, other threads:[~2021-05-07 17:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 4:47 Hyphen collapsing Thangalin
2021-05-07 15:12 ` Hans Hagen
2021-05-07 17:15 ` Thangalin
2021-05-07 17:27 ` 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).