ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: How to disable hyphenation at the end of a line?
Date: Mon, 20 May 2024 07:45:42 +0200	[thread overview]
Message-ID: <CAHy-LL9YUwGEHuy5gd6dhgUUb7O6xEv6is14ow8OXgyzJYTKdw@mail.gmail.com> (raw)
In-Reply-To: <355610415.658426.1716168615345@mail.yahoo.com>

Hi,

since it has to do with paragraph building and not with certain breaks
it is controlled by a demerits rather than a penalty, and there is, as
far as I know, no value that explicitly prohibits a hyphen at the last
line specifically (you can set the hyphenpenalty to 10000 to avoid
hyphenations everywhere). In the total demerits calculation penalties
are more or less squared, so setting

\finalhyphendemerits

to a ridiculously high value might do, for most paragraphs.

/Mikael

On Mon, May 20, 2024 at 3:33 AM Joel via ntg-context <ntg-context@ntg.nl> wrote:
>
> I'm using mostly default ConTeXt settings, but an editor has warned I should avoid using hyphenation at the end of lines--at least for my particular audience.
>
> I've found manual text that says how to disable specific words from being hyphenated.
>
> Is there a whole-document switch to disable it?
>
> --Joel
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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-05-20  5:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <355610415.658426.1716168615345.ref@mail.yahoo.com>
2024-05-20  1:30 ` [NTG-context] " Joel via ntg-context
2024-05-20  5:45   ` Mikael Sundqvist [this message]
2024-05-20  7:37   ` [NTG-context] " Wolfgang Schuster

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=CAHy-LL9YUwGEHuy5gd6dhgUUb7O6xEv6is14ow8OXgyzJYTKdw@mail.gmail.com \
    --to=mickep@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).