Subversion Repositories wimsdev

Rev

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

  1. !! +exec+ +var+ +string+
  2. $lst_tit rawmath$lst_titend$type_both
  3.   $(lst_syntax)rawmath $emph expr$emphend</tt>
  4.   $lst_mean Translate the mathematical expression $emph expr$emphend,
  5.   possibly with common user errors, into a machine-understandable
  6.   mathematical expression. <br/>
  7.   It will replace $emph (x+1)(x-1)$emphend into $emph (x+1)*(x-1)$emphend,
  8.   $emph 5x^3$emphend into $emph 5*x^3$emphend, etc.
  9.   More precisely,
  10.  <ul><li>
  11.   Replace some badcharacters as **, ², ³.
  12.    </li><li>translate ++, +-, -+, ... into one sign
  13.    </li><li>
  14.    translate | | in abs
  15.    </li><li>
  16.    replace new lines or tabs by spaces
  17.    </li><li>
  18.    add zero in case of decimal digits if necessary : for example, replace 4. by 4.0  and .5 -> 0.5
  19.    </li><li>
  20.    replace justapositions by multiplications if rawmatheasy=yes
  21.    </ul>
  22.    
  23.  
  24.  
  25.