Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
32 reyssat 1
!! +exec+ +var+ +string+
2
$lst_tit rawmath$lst_titend$type_both
4562 bpr 3
  $(lst_syntax)rawmath $emph expr$emphend</tt>
32 reyssat 4
  $lst_mean Translate the mathematical expression $emph expr$emphend,
5
  possibly with common user errors, into a machine-understandable
5766 bpr 6
  mathematical expression. <br/>
32 reyssat 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.
5549 bpr 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
 
32 reyssat 23
 
24