Rev 5921 | Rev 11210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 9342 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | $lst_alias math2mathml |
3 | $lst_alias math2mathml |
4 | $(lst_syntax)mathmlmath $emph expr$emphend</span> |
4 | $(lst_syntax)mathmlmath $emph expr$emphend</span> |
5 | $lst_mean Translate the raw mathematical expression $emph expr$emphend, |
5 | $lst_mean Translate the raw mathematical expression $emph expr$emphend, |
6 | into a form which can be best possibly rendered via mathml tags. The transformations |
6 | into a form which can be best possibly rendered via mathml tags. The transformations |
7 | are the same as in htmlmath command and the result is in html if mathml is not available. |
7 | are the same as in htmlmath command and the result is in html if mathml is not available. |
8 | If the expression is not a "machine-understandable mathematical expression", |
8 | If the expression is not a "machine-understandable mathematical expression", |
9 | there is no garanty on the result (today and in the future !). |
9 | there is no garanty on the result (today and in the future !). |
10 | <ul><li> |
10 | <ul><li> |
11 | All digits or + or - following a ^ or _ are considered as in exponent/subscript ; |
11 | All digits or + or - following a ^ or _ are considered as in exponent/subscript ; |
12 | expression with ( ) following a ^ or _ are considered as in exponent/subscript ; |
12 | expression with ( ) following a ^ or _ are considered as in exponent/subscript ; |
13 | parenthesis are remove (if no sign before) except in case of exponent and only digits. |
13 | parenthesis are remove (if no sign before) except in case of exponent and only digits. |
14 | </li><li> |
14 | </li><li> |
15 | Get rid of 1*.. ..*1. |
15 | Get rid of 1*.. ..*1. |
16 | example : in 1 * x, x/1, the 1 is removed. |
16 | example : in 1 * x, x/1, the 1 is removed. |
17 |
|
17 | </li><li> |
18 | Replace scientific notation 35E-05 by 10 power and add multiplication sign. Remove the + or 0 useless. |
18 | Replace scientific notation 35E-05 by 10 power and add multiplication sign. Remove the + or 0 useless. |
19 | </li><li> |
19 | </li><li> |
20 | Replace some names as greek letters by their equivalents. |
20 | Replace some names as greek letters by their equivalents. |
21 |
|
21 | </li><li> |
22 | Remove * or replace by multiplication sign. |
22 | Remove * or replace by multiplication sign. |
23 | </li><li> |
- | |
24 |
|
23 | </li><li> |
25 | Replace <=, >=, ->, =>, <=> by their html/mathml equivalents if possible. |
24 | Replace <=, >=, ->, =>, <=> by their html/mathml equivalents if possible. |
26 | </li> |
- | |
27 | </ul> |
25 | </li></ul> |
28 | 26 | ||
29 | 27 |