W3C home > Mailing lists > Public > www-math@w3.org > November 2008

Re: Representing complex variable names in Content MathML

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 10 Nov 2008 14:30:20 GMT
Message-Id: <200811101430.mAAEUKv7005743@edinburgh.nag.co.uk>
To: r.muetzelfeldt@ed.ac.uk
Cc: www-math@w3.org


> Not very pretty, but is this the best solution to the problem?

perhaps, but two alternatives

you  decide that they are really compound terms and not variables at
all,  and so have something like

<apply>
  <csymbol>variable-constructor</apply>
  <csymbol>temperature</csymbol>
  <csymbol>sea_level</csymbol>
</apply>

or some such, there are very few places in mathml where you could use a
ci identifier that you couldn't use such an apply construct.

a second alternative if you don't want to inline the compund
construction at every use is to use
<csymbol definitionurl="somewhere where you define these
things">temperature_at_sea_level</csymbol>

In MathML3 (draft) we are trying to make it easier to levarage OpenMath
CDs as a format in which to make such definitions, see

http://svn.openmath.org

eg

http://svn.openmath.org/OpenMath3/cd/MathML/arith1.xhtml

and to reference such things with

<csymbol cd="my-temp-constructs">temperature_at_sea_level</csymbol>

with a definition of temperature_at_sea_level in the my-temp-constructs
Content Dictionary.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Monday, 10 November 2008 14:31:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:13:02 GMT