From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16862 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: \def\vec#1 Date: Sun, 31 Oct 2004 11:49:51 -0800 Message-ID: <3.0.5.32.20041031114951.008dede0@mail.northcoast.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1099252663 19127 80.91.229.6 (31 Oct 2004 19:57:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 19:57:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 31 20:57:31 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 1COLpT-0000Fv-00 for ; Sun, 31 Oct 2004 20:57:31 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 65D5F12772; Sun, 31 Oct 2004 20:57:31 +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 04669-01; Sun, 31 Oct 2004 20:57:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 519E11277B; Sun, 31 Oct 2004 20:53:25 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BECAB1277B for ; Sun, 31 Oct 2004 20:53:23 +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 04406-04-2 for ; Sun, 31 Oct 2004 20:53:23 +0100 (CET) Original-Received: from smtp.inreach.com (unknown [209.142.2.34]) by ronja.ntg.nl (Postfix) with SMTP id C43A712772 for ; Sun, 31 Oct 2004 20:53:22 +0100 (CET) Original-Received: (qmail 27121 invoked from network); 31 Oct 2004 19:54:45 -0000 Original-Received: from unknown (HELO newmicronpc) (209.209.15.177) by smtp.inreach.com with SMTP; 31 Oct 2004 19:54:45 -0000 X-Sender: darnold@mail.northcoast.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Original-To: ntg-context@ntg.nl 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:16862 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16862 All, This is fine. \starttext \startformula \left(\matrix{y_1\cr y_2\cr \vdots\cr y_n}\right)= \left(\matrix{x_1^2\cr x_2^2\cr \vdots\cr x_n^2}\right) -2\left(\matrix{x_1\cr x_2\cr \vdots\cr x_n}\right) -\left(\matrix{3\cr 3\cr \vdots\cr 3}\right). \stopformula If \startformula \vec x =\left(\matrix{x_1\cr x_2\cr \vdots\cr x_n}\right)\quad\hbox{and}\quad \vec y =\left(\matrix{y_1\cr y_2\cr \vdots\cr y_n}\right), \stopformula \stoptext But when I redefine \vec, I get a problem. \def\vec#1{\bf #1} \starttext \startformula \left(\matrix{y_1\cr y_2\cr \vdots\cr y_n}\right)= \left(\matrix{x_1^2\cr x_2^2\cr \vdots\cr x_n^2}\right) -2\left(\matrix{x_1\cr x_2\cr \vdots\cr x_n}\right) -\left(\matrix{3\cr 3\cr \vdots\cr 3}\right). \stopformula If \startformula \vec x =\left(\matrix{x_1\cr x_2\cr \vdots\cr x_n}\right)\quad\hbox{and}\quad \vec y =\left(\matrix{y_1\cr y_2\cr \vdots\cr y_n}\right), \stopformula \stoptext I thought \vec in this case should just chew up the very next symbol, but the bold seems to continue into the display in the second formula. I'm missing something here. What is it?