From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15927 Path: main.gmane.org!not-for-mail From: Brooks Moses Newsgroups: gmane.comp.tex.context Subject: Re: Bug report, \frac as redefined in m-newmat.tex Date: Tue, 03 Aug 2004 11:30:07 -0700 Sender: ntg-context-bounces@ntg.nl Message-ID: <4.3.1.2.20040803112545.01646f78@cits1.stanford.edu> References: <4.3.1.2.20040802014237.00b3b228@cits1.stanford.edu> <4.3.1.2.20040802014237.00b3b228@cits1.stanford.edu> <410EA6AC.90208@wxs.nl> 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 1091557907 3689 80.91.224.253 (3 Aug 2004 18:31:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2004 18:31:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 03 20:31:36 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 1Bs44W-0005jD-00 for ; Tue, 03 Aug 2004 20:31:36 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE6531278F; Tue, 3 Aug 2004 20:31:35 +0200 (CEST) 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 27412-06; Tue, 3 Aug 2004 20:31:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B55A51277E; Tue, 3 Aug 2004 20:29:51 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C0201277E for ; Tue, 3 Aug 2004 20:29:50 +0200 (CEST) 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 27412-05 for ; Tue, 3 Aug 2004 20:29:49 +0200 (CEST) Original-Received: from smtp1.Stanford.EDU (unknown [171.67.16.123]) by ronja.ntg.nl (Postfix) with ESMTP id 850E01277A for ; Tue, 3 Aug 2004 20:29:49 +0200 (CEST) Original-Received: from Brooks1.stanford.edu (DNab42a554.Stanford.EDU [171.66.165.84]) by smtp1.Stanford.EDU (8.12.11/8.12.11) with ESMTP id i73ITjaP014301 for ; Tue, 3 Aug 2004 11:29:47 -0700 X-Sender: brooks@cits1.stanford.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Original-To: mailing list for ConTeXt users In-Reply-To: <410EA6AC.90208@wxs.nl> Original-References: <4.3.1.2.20040802014237.00b3b228@cits1.stanford.edu> <4.3.1.2.20040802014237.00b3b228@cits1.stanford.edu> 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15927 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15927 At 01:40 PM 8/2/2004, you wrote: >ah ... the alignment lookahead problem, i think we can safely patch >\mathematics to catch lookahead as well as make frac more robust for >unwanted expansion > >\usemodule[newmat] > >\unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}} > >\def\mathematics#1{\relax\ifmmode#1\else$#1$\fi} [...] That fixes the problem on my end; thanks! Will you be updating the defintions of \tfrac, \dfrac, and so forth in m-newmat to match? I admit to not being too sure whether I think it's a good idea to support using math constructs such as \frac outside of math mode, but I do think that if one's going to do that, it's good to be consistent and do it with the variants too. - Brooks