Subversion Repositories wimsdev

Rev

Rev 8572 | Blame | Last modification | View Log | RSS feed

  1. #! /bin/sh
  2.  
  3. wims_home=`pwd`;
  4. wims_dirtest="$wims_home/wimstest/dirtest";
  5.  
  6. test="add2 add2p add3
  7. sign doublesign
  8. mul div divp muldiv muldivp
  9. exp ind num num2 sci
  10. matrix matrix2
  11. stars names names2 sums
  12. relations relationempty relationempty2 relationempty3
  13. mixed1 mixed2 mixed3 mixed4 mixed5
  14. par stupid warn1ok warn1
  15. parent"
  16.  
  17. for a in $test; do
  18.   $wims_home/src/wims test $wims_dirtest texmath $a
  19. done;
  20.  
  21. exit
  22.  
  23. %%%%%%%%%%%%%%%%%%%%%%%%%%%%
  24. %        Remarks           %
  25. %%%%%%%%%%%%%%%%%%%%%%%%%%%%
  26.  
  27. Parentheses : some useless parentheses are removed, not all (multiple parentheses are "halved").
  28.  
  29. Matrices : matrix of size 1 is not treated as a matrix (see par)
  30.  
  31. Maxima constants : not interpreted, hence some results may be false (names2 gives atan(1)=1/4) if void constant is replaced by 1.
  32.  
  33. Spaces : the number 1 is often treated differently than other ; this
  34. difference makes a difference in the space characters for instance
  35. between 1+x and 2+x
  36.  
  37.  
  38. Braces : as writen in techdoc, the expression should be a
  39. "machine-understandable mathematical expression". In particular if
  40. braces appear, no treatment is done (see warn1)
  41.  
  42. Stars : double star is power ; a sole star in exponent remains as is.
  43.