From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15928 Path: main.gmane.org!not-for-mail From: Hans Hagen Outside Newsgroups: gmane.comp.tex.context Subject: Re: Bug report, \frac as redefined in m-newmat.tex Date: Wed, 04 Aug 2004 00:14:29 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <41100E45.9030302@wxs.nl> References: <4.3.1.2.20040802014237.00b3b228@cits1.stanford.edu> <4.3.1.2.20040802014237.00b3b228@cits1.stanford.edu> <4.3.1.2.20040803112545.01646f78@cits1.stanford.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091571292 31848 80.91.224.253 (3 Aug 2004 22:14:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2004 22:14:52 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 04 00:14:44 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 1Bs7YS-00087q-00 for ; Wed, 04 Aug 2004 00:14:44 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F3A412772; Wed, 4 Aug 2004 00:14:44 +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 28178-02; Wed, 4 Aug 2004 00:14:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6EF591277A; Wed, 4 Aug 2004 00:14:41 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F1961277A for ; Wed, 4 Aug 2004 00:14:39 +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 28014-06 for ; Wed, 4 Aug 2004 00:14:37 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 4B7FB12772 for ; Wed, 4 Aug 2004 00:14:36 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i73MEUwB011944 for ; Wed, 4 Aug 2004 00:14:30 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 892281A7A9; Wed, 4 Aug 2004 00:14:35 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 5135817CDD for ; Tue, 3 Aug 2004 22:14:33 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4.3.1.2.20040803112545.01646f78@cits1.stanford.edu> X-Virus-Scanned: clamd / ClamAV version 0.75, clamav-milter version 0.75 on mailrelay01 X-Virus-Status: Clean 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:15928 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15928 Brooks Moses wrote: > 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 do they need patching? they don't use \mathematics afaik Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------