Subversion Repositories wimsdev

Rev

Rev 11220 | Rev 13486 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +exec+ +var+ +string+
  2. tit:mathmlmath
  3. type:$type_both
  4. alias:math2mathml
  5. syntax:!mathmlmath ``expr''
  6. mean:Translate the raw mathematical expression ``expr'', into a form which can be best \
  7.   possibly rendered via mathml tags. The transformations\
  8.   are the same as in htmlmath command and the result is in html if mathml is not available.\
  9.   If the expression is not a "machine-understandable mathematical expression",\
  10.   there is no garanty on the result (today and in the future !).\
  11.   <ul><li>\
  12.   All digits or + or - following a ^ or _ are considered as in exponent/subscript;\
  13.   expression with ( ) following a ^ or _ are  considered as in exponent/subscript;\
  14.   parenthesis are remove (if no sign before) except in case of exponent and only digits.\
  15.   </li><li>\
  16.    Get rid of 1*.. ..*1. example: in 1 * x, x/1, the 1 is removed.\
  17.   </li><li>\
  18.   Replace scientific notation 35E-05 by 10 power and add multiplication sign. Remove the + or 0 useless.\
  19.   </li><li>\
  20.    Replace some names as greek letters by their equivalents.\
  21.   </li><li>\
  22.    Remove * or replace by multiplication sign.\
  23.   </li><li>\
  24.    Replace <=, >=, ->, =>, <=> by their html/mathml equivalents if possible.\
  25.   </li></ul>
  26.