ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Joel via ntg-context <ntg-context@ntg.nl>
Subject: [NTG-context] Re: How to allow hyphenation, only for footnotes?
Date: Sat, 10 Aug 2024 17:13:12 +0200	[thread overview]
Message-ID: <c4ad98ed-ce6a-dedd-dd29-112b005f465a@gmail.com> (raw)
In-Reply-To: <1568788842.3240029.1723301698204@mail.yahoo.com>

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
___________________________________________________________________________________

      reply	other threads:[~2024-08-10 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1568788842.3240029.1723301698204.ref@mail.yahoo.com>
2024-08-10 14:54 ` [NTG-context] " Joel via ntg-context
2024-08-10 15:13   ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4ad98ed-ce6a-dedd-dd29-112b005f465a@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).