ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: hyphenation
Date: Wed, 13 Oct 2021 09:49:58 +0200	[thread overview]
Message-ID: <85c6c2a4-977e-ede1-2678-7f05b43f4145@xs4all.nl> (raw)

Hi,

Here is a nice trick to show all possible (within the constraints of 
fonts and languages) hyphenations in a paragraoh:

     \bgroup
         \setupalign[flushright]
         \hyphenpenalty-100000
         \input tufte
         \par % force hyphenation
     \egroup

This one does the same for last lines on a page with a hyphen:

\bgroup
   % \interlinepenalty10000
     \brokenpenalty-10000
     \input tufte
\egroup

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
___________________________________________________________________________________

             reply	other threads:[~2021-10-13  7:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  7:49 Hans Hagen via ntg-context [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-26 11:38 hyphenation Hans van der Meer
2018-10-26 11:54 ` hyphenation Hans Hagen
2018-10-26 11:57 ` hyphenation Wolfgang Schuster
2009-05-24 21:12 hyphenation Henning Hraban Ramm
2009-05-25  7:07 ` hyphenation Taco Hoekwater
     [not found] <873781070904090254u12812a9dr4fd2aca7006a67c@mail.gmail.com>
     [not found] ` <A1349FE2-7740-4416-A001-7F766506A658@uni-bonn.de>
2009-04-09 15:02   ` hyphenation Vyatcheslav Yatskovsky
2004-01-06 16:58 hyphenation (was: Re: extended ascii characters) Peter Münster
2004-01-06 21:37 ` hyphenation Henning Hraban Ramm
2004-01-07  6:21   ` hyphenation Peter Münster
2003-04-02  6:04 hyphenation Zeljko Vrba
2003-04-08 11:26 ` hyphenation Hans Hagen
     [not found] <3.0.5.32.19990523153816.00a37680@mail.northcoast.com>
     [not found] ` <3.0.5.32.19990525160807.00a40210@mail.northcoast.com>
1999-05-26  7:35   ` Hyphenation Hans Hagen

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=85c6c2a4-977e-ede1-2678-7f05b43f4145@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.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).