Subversion Repositories wimsdev

Rev

Rev 5921 | Rev 11292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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