From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59777 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Omitting hyphenation Date: Tue, 22 Jun 2010 14:56:27 +0200 Message-ID: <4C20B2FB.6050005@googlemail.com> References: <201006211832.06435.matija@suklje.name> <4C1FA59C.3060502@googlemail.com> <201006211950.08490.matija@suklje.name> <4C1FA96A.5030505@googlemail.com> <4C1FC5CB.5010906@wxs.nl> <4C1FC8B2.2030308@googlemail.com> <4C2061E4.6090909@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277211401 28264 80.91.229.12 (22 Jun 2010 12:56:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Jun 2010 12:56:41 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 22 14:56:40 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OR31s-0002AL-Bm for gctc-ntg-context-518@m.gmane.org; Tue, 22 Jun 2010 14:56:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2E0E6C9B49; Tue, 22 Jun 2010 14:56:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8o28XBnAJd6k; Tue, 22 Jun 2010 14:56:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69485C9B66; Tue, 22 Jun 2010 14:56:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38BDFC9B49 for ; Tue, 22 Jun 2010 14:56:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3aVr07SxALUw for ; Tue, 22 Jun 2010 14:56:30 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by balder.ntg.nl (Postfix) with ESMTP id 1E515C9ABB for ; Tue, 22 Jun 2010 14:56:30 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so933643fgb.2 for ; Tue, 22 Jun 2010 05:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+B3BkehlmaC5Nwrvizds/84BCZ49/jgDBGrQlsj9Qwo=; b=lNwDH/+iEqNd3BRSiAIiNvUiV46JGqGGOGGbKNICETkKrxytkI/QiR8K0Bw0NQCop/ XqaiImgSAmlQuouFWjti+NwPDbJ3kS8y+U6oE6neimSJRPDiy7OJlKFb95ietQsfOdvq KfJ1Mjre4zrsT28dEcvtsFjB4uekj1yBk6UUM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZJrITHP2SeT8Wqg6N4Hyz0WATREgpTL4IeY1dztHUls+7W9DV1SCt54Y4KksAF58rs 6r5IJag4ZYpOjc3fkhhveQKn8x4oj9Hz+fo0QD+g+/uw9gOCg+49LPqSOsrMrjlM5KCS FboICiX9q+V7HwDAYG/4iqY1G6ehFi7iZH8Zo= Original-Received: by 10.87.5.30 with SMTP id h30mr10432609fgi.3.1277211389905; Tue, 22 Jun 2010 05:56:29 -0700 (PDT) Original-Received: from rover.fritz.box ([188.105.201.164]) by mx.google.com with ESMTPS id l19sm10921514fgb.20.2010.06.22.05.56.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 05:56:29 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 In-Reply-To: <4C2061E4.6090909@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59777 Archived-At: Am 22.06.10 09:10, schrieb Hans Hagen: > On 21-6-2010 10:16, Wolfgang Schuster wrote: > >>> \unexpanded\def\mbox >>> {\ifmmode\normalmbox\else\dontleavehmode\normalhbox\fi} >>> >>> as i never use this command it won't break my documents -) >> >> thanks, this looks good > > in retrospect it's tricky ... > > \setbox0\mbox{...} > > will break then at the cost of a box register even this works \def\mbox {\ifmmode\normalmbox\else\specialmbox\fi} \newbox\textmbox \def\specialmbox {\normalhbox\bgroup \dowithnextbox{\global\setbox\textmbox\box\nextbox\egroup\dontleavehmode\box\textmbox}\normalhbox} \starttext \hbox{text} text text \mbox{text} text text \setbox0\hbox{bar}\setbox1\mbox{foo}\box1\box0 \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________