From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Q about mathml || tex-native?
Date: Mon, 20 Mar 2006 11:40:31 +0100 [thread overview]
Message-ID: <441E869F.9010307@wxs.nl> (raw)
In-Reply-To: <Pine.WNT.4.63.0603171926270.1536@nqvgln>
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: <tm>e=mc^2</tm>.
\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
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-03-20 10:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-17 22:38 Alexander Lazic
2006-03-18 0:33 ` Aditya Mahajan
2006-03-20 10:40 ` Hans Hagen [this message]
2006-03-20 11:36 ` Alexander Lazic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=441E869F.9010307@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).