Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
32 reyssat 1
!! +exec+ +ins+
11210 bpr 2
tit:insmath
3
type:$type_pexec
11292 bpr 4
syntax:!insmath ``formula''
5
mean:According to the complicatedness of ``formula'', the server will either render it \
6
  as beautifully as possible using html tags, or translate ``formula'' into TeX source then\
11210 bpr 7
  call TeX to compile and finally transform the TeX result into a picture. The latter\
8
  is inserted into the page (at the place of the command). <br/>\
11292 bpr 9
  If the user browser knows mathml, then the ``formula'' is simply translated into mathml \
11210 bpr 10
  and sent to the browser. What is done is the following:\
11
  <ul><li>replace .. by ,\
12
 </li><li> If there is no \ or { , apply rawmath if it is asked;\
13
</li><li>\
14
If there is no \ or { , apply texmath if there is some computer matrix [1,2;4,5] or if\
15
    there is a word as "sqrt int integrate sum prod product Int Sum Prod conj abs"\
16
    or if there is some / in the formula.\
17
  </li><li>\
18
  send it to instex (gifs) or to mathml or do nothing more according to ...\
19
   </li></ul>