From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13180 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Preventing hyphenation? Date: Wed, 10 Sep 2003 18:47:06 -0400 Organization: WexfordPress Sender: ntg-context-admin@ntg.nl Message-ID: <200309101847.06005.john@wexfordpress.com> References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063234456 1301 80.91.224.253 (10 Sep 2003 22:54:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 22:54:16 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Sep 11 00:54:14 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xDqo-0004QF-00 for ; Thu, 11 Sep 2003 00:54:14 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3601C10BBC; Thu, 11 Sep 2003 00:54:11 +0200 (MEST) Original-Received: from wexfordpress.com (dpmail03.doteasy.com [209.153.216.3]) by ref.ntg.nl (Postfix) with ESMTP id 80A4A10B96 for ; Thu, 11 Sep 2003 00:48:28 +0200 (MEST) Original-Received: from md-wmnsmd-cuda2-c3c-144.chvlva.adelphia.net [68.170.242.144] by wexfordpress.com with ESMTP (SMTPD32-7.13) id AC7E17A002A; Wed, 10 Sep 2003 15:58:06 -0700 Original-To: ntg-context@ntg.nl, Mari Voipio User-Agent: KMail/1.5 In-Reply-To: Content-Disposition: inline X-IMSTrailer: __IMail_7__ Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13180 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13180 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/