From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59763 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Omitting hyphenation Date: Mon, 21 Jun 2010 22:16:50 +0200 Message-ID: <4C1FC8B2.2030308@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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1277151423 8533 80.91.229.12 (21 Jun 2010 20:17:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2010 20:17:03 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 21 22:17:01 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 1OQnQS-0007BO-SD for gctc-ntg-context-518@m.gmane.org; Mon, 21 Jun 2010 22:17:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33F93C9C4A; Mon, 21 Jun 2010 22:17:00 +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 6gs7DDbHbSXK; Mon, 21 Jun 2010 22:16:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7DD0CC9C61; Mon, 21 Jun 2010 22:16:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7041C9C61 for ; Mon, 21 Jun 2010 22:16:55 +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 qQopsteg3j51 for ; Mon, 21 Jun 2010 22:16:53 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by balder.ntg.nl (Postfix) with ESMTP id 7DB2BC9C4A for ; Mon, 21 Jun 2010 22:16:53 +0200 (CEST) Original-Received: by wyf28 with SMTP id 28so3242315wyf.14 for ; Mon, 21 Jun 2010 13:16:53 -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=eHOmItbmYwzD+rQPuS+k16pF/t0QO0V/u5QLu7NYs9w=; b=Ensb66/Y487VuTWt23TAhVtoWTdSZYty/Wza5/nedEOuaMfBQ5GOFW8yrQs1Qsu4rb Plt6yC1O3AHBViuZ3fIXAfincaOYqmfh2noVjBK5Fu8HqYNKC4TKVFwywndNI41hU4tA K0PSwuhF26dvBxFGAxMzVVyDi/7uQbsHtiw8U= 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=LUqIc9JlNd5Nb84sVjBwEWuh/kbupYkFUAP0VfXIDg4tWxkVVj93+CDk3pXLvh34CQ Dv6IKjYD4Mg4l0u2zmbWNbuaekuExF2JPlPQYiUvOJareKuZqjKoq4z399ttTOVEm+Fi yyyx4FS8Q5VQL4LqSBnlIw0j1jJaZndmMWne0= Original-Received: by 10.216.179.147 with SMTP id h19mr3882319wem.81.1277151413170; Mon, 21 Jun 2010 13:16:53 -0700 (PDT) Original-Received: from rover.fritz.box (dslb-188-098-013-177.pools.arcor-ip.net [188.98.13.177]) by mx.google.com with ESMTPS id l46sm4261023wed.10.2010.06.21.13.16.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 13:16:52 -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: <4C1FC5CB.5010906@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:59763 Archived-At: Am 21.06.10 22:04, schrieb Hans Hagen: > On 21-6-2010 8:03, Wolfgang Schuster wrote: >> Am 21.06.10 19:50, schrieb Matija =8Auklje: >>> Dne ponedeljek 21. junija 2010 ob 19:47:08 je Wolfgang Schuster >>> napisal(a): >>>> Am 21.06.10 18:53, schrieb Yury G. Kudryashov: >>>>> Try \hbox{word} (AFAIR, this is a plain TeX command) >>>> If you want a context command then use \mbox ;) >>> Is there any practical difference? >> >> No but i wish there is one, e.g. the following example shows a problem >> with \hbox. >> >> \starttext >> \hbox{test} text text >> \blank >> \dontleavehmode\hbox{test} text text >> \stoptext >> >> As you can see in the output the first 'test' starts 'text text' on a >> new line and i forced \hbox >> to appear in horizontal mode with \dontleavehmode and this can't be >> changed because \hbox is a TeX >> primitive and you have to rely on this behaviour. The \mbox command >> isn't a primitive and i would >> be so easy to add \dontleavehmode to it's definition to make sure the >> text after \mbox won't appear >> on a new line, this means in this example both lines result in the same >> output. >> >> \starttext >> \dontleavehmode\hbox{test} text text >> \blank >> \mbox{test} text text >> \stoptext > > we can have > > \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 Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________