Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 11209 → Rev 11210

/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/mathmlmath.phtml
1,27 → 1,25
!! +exec+ +var+ +string+
$lst_tit mathmlmath$lst_titend$type_both
$lst_alias math2mathml
$(lst_syntax)mathmlmath $emph expr$emphend</span>
$lst_mean Translate the raw mathematical expression $emph expr$emphend,
into a form which can be best possibly rendered via mathml tags. The transformations
are the same as in htmlmath command and the result is in html if mathml is not available.
If the expression is not a "machine-understandable mathematical expression",
there is no garanty on the result (today and in the future !).
<ul><li>
All digits or + or - following a ^ or _ are considered as in exponent/subscript ;
expression with ( ) following a ^ or _ are considered as in exponent/subscript ;
parenthesis are remove (if no sign before) except in case of exponent and only digits.
</li><li>
Get rid of 1*.. ..*1.
example : in 1 * x, x/1, the 1 is removed.
</li><li>
Replace scientific notation 35E-05 by 10 power and add multiplication sign. Remove the + or 0 useless.
</li><li>
Replace some names as greek letters by their equivalents.
</li><li>
Remove * or replace by multiplication sign.
</li><li>
Replace <=, >=, ->, =>, <=> by their html/mathml equivalents if possible.
tit:mathmlmath
type:$type_both
alias:!math2mathml
syntax:!mathmlmath `expr'
mean:Translate the raw mathematical expression `expr', into a form which can be best \
possibly rendered via mathml tags. The transformations\
are the same as in htmlmath command and the result is in html if mathml is not available.\
If the expression is not a "machine-understandable mathematical expression",\
there is no garanty on the result (today and in the future !).\
<ul><li>\
All digits or + or - following a ^ or _ are considered as in exponent/subscript;\
expression with ( ) following a ^ or _ are considered as in exponent/subscript;\
parenthesis are remove (if no sign before) except in case of exponent and only digits.\
</li><li>\
Get rid of 1*.. ..*1. example: in 1 * x, x/1, the 1 is removed.\
</li><li>\
Replace scientific notation 35E-05 by 10 power and add multiplication sign. Remove the + or 0 useless.\
</li><li>\
Replace some names as greek letters by their equivalents.\
</li><li>\
Remove * or replace by multiplication sign.\
</li><li>\
Replace <=, >=, ->, =>, <=> by their html/mathml equivalents if possible.\
</li></ul>