From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17017 Path: main.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: bug with glue and spaces in formulas? Date: Wed, 10 Nov 2004 19:44:49 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: sea.gmane.org 1100153558 11048 80.91.229.6 (11 Nov 2004 06:12:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 06:12:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 10 20:15:05 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRxvt-0001hJ-00 for ; Wed, 10 Nov 2004 20:15:05 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 33E3B127C7; Wed, 10 Nov 2004 20:15:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00484-06; Wed, 10 Nov 2004 20:15:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 688C0127CB; Wed, 10 Nov 2004 19:47:36 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 78236127C3 for ; Wed, 10 Nov 2004 19:47:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32355-06 for ; Wed, 10 Nov 2004 19:47:33 +0100 (CET) Original-Received: from mwinf0612.wanadoo.fr (unknown [193.252.22.25]) by ronja.ntg.nl (Postfix) with ESMTP id 8B42B127C4 for ; Wed, 10 Nov 2004 19:47:33 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0612.wanadoo.fr (SMTP Server) with SMTP id 583EB1800145 for ; Wed, 10 Nov 2004 19:47:33 +0100 (CET) Original-Received: from postfix.math.uvsq.fr (AMontsouris-151-1-26-42.w82-123.abo.wanadoo.fr [82.123.23.42]) by mwinf0612.wanadoo.fr (SMTP Server) with ESMTP id 1BD511800172 for ; Wed, 10 Nov 2004 19:47:33 +0100 (CET) Original-Received: from [10.0.1.9] (localhost [127.0.0.1]) by postfix.math.uvsq.fr (Postfix) with ESMTP id 01AC9302279 for ; Wed, 10 Nov 2004 19:47:33 +0100 (CET) X-Sender: otared@pop.wanadoo.fr Original-To: mailing list for ConTeXt users X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17017 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17017 Hi Hans and all Contexters, While discussing with David Munger about the Steps macros he wrote for presentations in ConTeXt (see the thread \presentationstep), we noticed that there seems to be a problem with "white spaces" or glue around some "binary operators" such as +, - and =. Please see the result of the following sample. Best regards: OK %%%% begin file test-glue.tex \starttext This is to verify how the space, or glue, is controlled in \ConTeXt. First some binary operators ``$\in$'', ``$+$'', ``$-$'' and ``$=$'' without grouping braces: \placeformula[eq:plain] \startformula x\in \Omega \subset {\Bbb R}^N,\quad\quad -\Delta u + u -u^3 = f. \stopformula Next the same with braces \placeformula[eq:braces1] \startformula x{\in} \Omega {\subset} {\Bbb R}^N,\quad\quad {-}\Delta u {+} u {-u^3} {=} f. \stopformula Note how the spaces around the signs $\in$, $+$, $-$ and $=$ have shrinked. The problem seems to appear when these are actually binary operators (that is $+1$ and ${+}1$ give the same result, while $1+2=3$ is different from $1{+}2{=}3$). I haven't tried all such binary operators, but it seems that this happens with all of them: compare $A \cap B$ and $A{\cap}B$, or $A\cup B$ and $A{\cup}B$. \stoptext %%%%% end file test-glue.tex