From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8310 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: Re: blocking hyphenation Date: Fri, 21 Jun 2002 05:18:14 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020621051814.A18307@bar.loria.fr> References: <200206201406.00435.ishamid@attbi.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035398725 26490 80.91.224.250 (23 Oct 2002 18:45:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:45:25 +0000 (UTC) Cc: ntg-context@ntg.nl, "Denis B. Roegel" Original-To: Idris S Hamid In-Reply-To: <200206201406.00435.ishamid@attbi.com>; from ishamid@attbi.com on Thu, Jun 20, 2002 at 02:06:00PM -0600 Xref: main.gmane.org gmane.comp.tex.context:8310 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8310 On Thu, Jun 20, 2002 at 02:06:00PM -0600, Idris S Hamid wrote: > [Sorry I left out the subject before] > > Dear gang, > > What is the best way in ConTeXt to define a word so that is does not > hyphenate. E.g., > > \def\SAN{\hbox{{A\d{s}-\d{S}an\={a}`ah}}} > > \SAN{} this is a test > > \bye > > does not work; it creates an unwanted line break (anyone know why?) > That's because you stay in vertical mode. Your paragraph only starts with `this is a test.' You need to esplicitely enter horizontal mode: \def\SAN{\leavevmode\hbox{{A\d{s}-\d{S}an\={a}`ah}}} Denis