ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] How to allow hyphenation, only for footnotes?
       [not found] <1568788842.3240029.1723301698204.ref@mail.yahoo.com>
@ 2024-08-10 14:54 ` Joel via ntg-context
  2024-08-10 15:13   ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2024-08-10 14:54 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel


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

My copy editor urged me to remove all hyphens from the main text of my document. I'm using:
\definefontfeature[default][default][expansion=quality,protrusion=quality]

\start \setupalign[nothyphenated,tolerant,hz,hanging]
(text)
\stop
The problem is that is messing with footnotes, causing things like URLS to run off the page. How can I permit the hyphenation to appear normally, but only on the footnote text?
--Joel

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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: How to allow hyphenation, only for footnotes?
  2024-08-10 14:54 ` [NTG-context] How to allow hyphenation, only for footnotes? Joel via ntg-context
@ 2024-08-10 15:13   ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2024-08-10 15:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joel via ntg-context

Joel via ntg-context schrieb am 10.08.2024 um 16:54:
> My copy editor urged me to remove all hyphens from the main text of my 
> document. I'm using:
> 
> \definefontfeature[default][default][expansion=quality,protrusion=quality]
> 
> 
> \start \setupalign[nothyphenated,tolerant,hz,hanging]
> 
> (text)
> 
> \stop

Is there a reason why do the alignment change within a local group?

> The problem is that is messing with footnotes, causing things like URLS 
> to run off the page. How can I permit the hyphenation to appear 
> normally, but only on the footnote text?

\setupalign[verytolerant,nothyphenated]

\setupnotation[footnote][align={hyphenated,normal}]

\starttext

\samplefile{lorem}\footnote{\samplefile{lorem}}

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-08-10 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1568788842.3240029.1723301698204.ref@mail.yahoo.com>
2024-08-10 14:54 ` [NTG-context] How to allow hyphenation, only for footnotes? Joel via ntg-context
2024-08-10 15:13   ` [NTG-context] " Wolfgang Schuster

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