W3C home > Mailing lists > Public > www-math@w3.org > May 2001

Re: Create StyleSheet For Math or DTD

From: Robert Miner <RobertM@dessci.com>
Date: Wed, 2 May 2001 22:22:50 -0500
Message-Id: <200105030322.WAA11352@wisdom.geomtech.com>
To: mhvan@ngs.noaa.gov
CC: www-math@w3.org, www-math@w3.org


You wrote:

> I am currently working on a project call "Geodetic Glossary".  In my
> glossaries, I have lots of Math Equation.  However, when I wrote my java
> program to convert the glossaries text files into xml files.  Then I use
> XSLT to generate them in HTML format.
> Here is an example:
>   <PrimaryDef>The quantity RT/gM, where g is the acceleration of
> gravity, M is  the mass of the atmosphere below the height where the
> temperature is T, and R  is the gas constant 8.3143 $x 10[3~ J/(kmol $.
> K).
> </PrimaryDef>
> 8.3143 $x 10[3~J/(kmol $. K ).  $x is mean multiply, 10[3~ is mean 10^3,
> and $. is mean a dot in between kmol and K.

Sounds like an interesting project.

> I did you EX-math to convert the text equation into MathML.  However,
> when I add them in my xml files and try to transform it into HTML
> format.  It doesn't show the right math equation.  Should I write a DTD
> for it or XSLT? How do I find an easy way to do.  I have lots of math
> equations in all my xml files.

My company, Design Science, makes a WebEQ page wizard program for exactly
this task.  After you generate your XML with embedded TeX code, you
would send it to the WebEQ Page Wizard to expand the TeX code into
MathML, and optionally generate equation images or WebEQ Math Viewer
applet tags.  You can set various options about the MathML to
generate, e.g. whether to use a namespace prefix, etc.

It comes in a GUI version, and a command-line version.  You can get a
30-day demo at



Robert Miner                                    RobertM@dessci.com
MathML 2.0 Specification Co-editor                    651-223-2883
Design Science, Inc.   "How Science Communicates"   www.dessci.com
Received on Wednesday, 2 May 2001 23:23:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:31 UTC