From: Patrick Gundlach <pg@levana.de>
Subject: Re: Preventing hyphenation?
Date: Wed, 10 Sep 2003 14:27:54 +0200 [thread overview]
Message-ID: <m2he3khlpx.fsf@levana.de> (raw)
In-Reply-To: <Pine.OSF.4.51.0309101303400.32288@sirppi.helsinki.fi> (Mari Voipio's message of "Wed, 10 Sep 2003 13:10:04 +0300 (EET DST)")
Hi Mari,
> I know this has been on the list earlier, but I don't seem to be able to
> parse the old messages enough to implement anything...
I am not that sure if this has been discussed here before.
>
> My current (urgent) project has a bunch of words/codes with a hyphen:
> K-Patents
> PR-23-XX
> etc.
> Any ideas?
\definetextmodediscretionary M
{\nobreak\hbox{-}\prewordbreak}
\starttext
\dorecurse{50}{K|M|Patents PR|M|23|M|XX and some words a|M|hyphenationtest
hyphenationtest|M|a }
\stoptext
does this help?
Patrick
--
There is probably an already built in solution.
next prev parent reply other threads:[~2003-09-10 12:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-10 10:10 Mari Voipio
2003-09-10 12:27 ` Patrick Gundlach [this message]
2003-09-10 22:47 ` John Culleton
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=m2he3khlpx.fsf@levana.de \
--to=pg@levana.de \
--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).