Subversion Repositories wimsdev

Rev

Rev 11220 | Blame | Compare with Previous | Last modification | View Log | RSS feed

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