ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
Subject: Re: Preventing hyphenation?
Date: Wed, 10 Sep 2003 18:47:06 -0400	[thread overview]
Message-ID: <200309101847.06005.john@wexfordpress.com> (raw)
In-Reply-To: <Pine.OSF.4.51.0309101303400.32288@sirppi.helsinki.fi>

On Wednesday 10 September 2003 06:10, Mari Voipio wrote:
> 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...
>
> My current (urgent) project has a bunch of words/codes with a hyphen:
> 	K-Patents
> 	PR-23-XX
> 	etc.
>
> These should not get a line break at the hyphen, i.e. not K-
> Patents but K-Patents or K-Pa-tents. As far as I understand it, the
> beginner's manual and the full manual only talk about how to tell
> ConTeXt where the proper hyphenation points are, but not, how to
> prevent hyphenation altogether.
>
There are a few of plain tex tricks you can try. 

1. If you enclose a word in an \hbox then it should print out but not be 
hyphenated.
2. If you raise the numeric value of \pretolerance then the likelihood 
of the paragaph being hyphenated will be reduced.
3. If the paragraph is long then you can set \looseness=1 which may 
eliminate an hyphenation somewhere along the line.

HTH

-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com



____________________________________________________________
Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/

      parent reply	other threads:[~2003-09-10 22:47 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
2003-09-10 22:47 ` John Culleton [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=200309101847.06005.john@wexfordpress.com \
    --to=john@wexfordpress.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).