From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26420 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Q about mathml || tex-native? Date: Mon, 20 Mar 2006 11:40:31 +0100 Message-ID: <441E869F.9010307@wxs.nl> References: <20060317223832.GA19050@none.at> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142851366 9173 80.91.229.2 (20 Mar 2006 10:42:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 10:42:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 20 11:42:42 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLHqB-0002nQ-Ep for gctc-ntg-context-518@m.gmane.org; Mon, 20 Mar 2006 11:42:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE6ED1279E; Mon, 20 Mar 2006 11:42:22 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02610-05; Mon, 20 Mar 2006 11:42:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C637812792; Mon, 20 Mar 2006 11:40:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3716312792 for ; Mon, 20 Mar 2006 11:40:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02610-04 for ; Mon, 20 Mar 2006 11:40:32 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 3C95812772 for ; Mon, 20 Mar 2006 11:40:30 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 9287 for ; Mon, 20 Mar 2006 13:40:29 +0300 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26420 Aditya Mahajan wrote: > <--- On Mar 17, Alexander Lazic wrote ---> > > >> Hi, >> >> i plan to write a math-booklet and have a question about the >> math-modules in contex. >> >> What is the preferd way to deal with math in contex? >> >> MathML (xml-way) or >> \*formula (tex-way, from my point of view) >> > > I do not know the pros and cons of both methods, but I personally find > the mathML too verbose to type in. If you have an editor generating > the mathml for you, it is a different matter. But if you prefer to > type in your formulas,the tex way is much easier to input. > you can also think of a mixture: content mathml for nicely structured formulas and a simple tex mode for inline math: \defineXMLargument[tm]{\XMLtexmath} \def\XMLtexmath#1{\bgroup\setnormalcatcodes\scantokens{\mathematics{#1}\ignorespaces}\egroup} \startbuffer[test] Sometimes it makes sense to use simple math, as in: e=mc^2. \stopbuffer \processXMLbuffer[test] (i will provide a 'calcmath' filter once luatex is there) 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 -----------------------------------------------------------------