From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20456 Path: news.gmane.org!not-for-mail From: Peter Newsgroups: gmane.comp.tex.context Subject: Re: prevent hyphenation Date: Fri, 20 May 2005 18:08:01 +0200 Message-ID: <428E0B61.6080608@orgelvlaardingen.nl> References: <42FD4E90@webmail.colostate.edu> <428DCB9F.2020505@orgelvlaardingen.nl> <428DDD0D.9080109@wxs.nl> <428DF257.8090407@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116607250 10986 80.91.229.2 (20 May 2005 16:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 16:40:50 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri May 20 18:40:34 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZAX0-0004Yz-Cz for gctc-ntg-context-518@m.gmane.org; Fri, 20 May 2005 18:39:26 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4D75F1277F; Fri, 20 May 2005 18:40:30 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04982-03; Fri, 20 May 2005 18:40:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F2A2A1281E; Fri, 20 May 2005 18:07:54 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8DBB31281E for ; Fri, 20 May 2005 18:07:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04761-03-2 for ; Fri, 20 May 2005 18:07:52 +0200 (CEST) Original-Received: from olive.qinip.net (olive.qinip.net [62.100.30.40]) by ronja.ntg.nl (Postfix) with ESMTP id BE76712793 for ; Fri, 20 May 2005 18:07:52 +0200 (CEST) Original-Received: from [10.0.0.3] (h6210061202.dsl.speedlinq.nl [62.100.61.202]) by olive.qinip.net (Postfix) with ESMTP id 7B33D1819B for ; Fri, 20 May 2005 18:07:50 +0200 (MEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <428DF257.8090407@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20456 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20456 Taco Hoekwater wrote: > What will work, is setting the TeX primitive \language to a value > that does not have associated patterns (-1 is a possibility, but > usually 255 also works). In the next bit of context code, there > will be no hyphenation: > > \starttext > \normallanguage -1 \hsize = 0pt \input zapf \language[en] > \stoptext > > (babel has a language definition 'nohyph', precisely for this) > > Hope this helps, I now have: \definieer\stophyph{\bgroup\normallanguage-1} \definieer\starthyph{\egroup} Now I say \stophyph right before a citation and \starthyph right after it. This seems to work. Maybe not an elegant solution, but I'm happy. Tanks! Peter. > Taco > > > > > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >