From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20443 Path: news.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: RE: prevent hyphenation Date: Thu, 19 May 2005 21:32:37 -0600 Message-ID: <42FD4E90@webmail.colostate.edu> 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" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116559934 2019 80.91.229.2 (20 May 2005 03:32:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 03:32:14 +0000 (UTC) Cc: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri May 20 05:32:10 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 1DYyEv-0001Il-Pi for gctc-ntg-context-518@m.gmane.org; Fri, 20 May 2005 05:31:57 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FA7D12842; Fri, 20 May 2005 05:32:56 +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 22985-05; Fri, 20 May 2005 05:32:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C88B1283D; Fri, 20 May 2005 05:32:51 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D51F1283D for ; Fri, 20 May 2005 05:32:49 +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 22436-07 for ; Fri, 20 May 2005 05:32:48 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id CBDC1127C5 for ; Fri, 20 May 2005 05:32:47 +0200 (CEST) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j4K3WcS116838; Thu, 19 May 2005 21:32:39 -0600 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j4K3VYH785350; Thu, 19 May 2005 21:31:34 -0600 X-WebMail-UserID: ishamid Original-To: mailing list for ConTeXt users , Peter X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 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:20443 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20443 Hi Peter >===== Original Message From Peter ===== >I'm typesetting a text with some citations in nineteenth-century Dutch >and French, in which I don't want hyphenation. How can this be done? > >I now have two macros: >\def\stophyph{\pretolerance=15000\tolerance=400} >\def\starthyph{\pretolerance=200\tolerance=400} > >At the beginning of every citation I enter \stophyph{} and at the end >\starthyph{}. But the cited words are still hyphenated. Here is a better approach: ================================================== \setupoutput[pdftex]% \installlanguage[NH][lefthyphenmin=100,righthyphenmin=100] \starttext \language[NH] \input knuth \language[en] \input knuth \stoptext ================================================== Even better, take the definition of [nl] in type-ger.tex and add it to \installlanguage[NH]. Hans: the following would be nice to have: \setuplanguage[][hyphenation=off] >Putting single words in a mbox also doesn't help... ;( mbox?!? Dost thou blaspheme!?! :-) Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523