Subversion Repositories wimsdev

Rev

Rev 15331 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if $save!=$empty and $changed>0
  3.   !href cmd=reply#check $name_click
  4.  $name_refresh
  5.   !exit
  6. !endif
  7.  
  8. <hr>
  9. <p id="check">
  10. !if new.png notin $cvtest
  11.   <span class="wims_warning">$wims_name_Error</span>. $name_imagemagick
  12.   </p>
  13.   !exit
  14. !endif
  15. !distribute char $useropts into us,up
  16. !if $us!=$empty and $us>=0 and $us<=9
  17.   !set wims_texsize=$[$wims_texbasesize-$us+1]
  18. !endif
  19. $table_header
  20. $table_tr <td>$name_dynamic
  21. !set t=1
  22. !set ins_align=middle
  23.  
  24. !set formula1=\sqrt{x^2+y^2}=\sin(t^3)
  25. !set formula2=A = [14,-19;16,12]
  26.  
  27. <p>
  28. !if $conf_7<=1
  29.   $name_tex
  30. !else
  31.   $name_mathml
  32. !endif
  33. $name_size
  34.  
  35. !set wims_ref_class=wims_button_help
  36. !href cmd=help&help_subject=conf&help_conf=texbasesize $wims_name_help
  37. </p>
  38. </td><td>
  39.   <ul><li class="tex">
  40.     !insmath $$$$ $formula1 $$$$
  41.   </li><li class="latex">
  42.     !insmath $formula2
  43.   </li></ul>
  44. </td></tr>
  45.  
  46. $table_tr<td>$name_drawing</td>
  47. <td>
  48. !set insdraw_size=200,200
  49. !insdraw fill 0,0,white\
  50. transparent white\
  51. xrange -1,1\
  52. yrange -1,1\
  53. disk 0,0,240,grey\
  54. disk 0,0,200,red\
  55. disk 0,0,160,cyan\
  56. disk 0,0,120,green\
  57. disk 0,0,80,blue\
  58. disk 0,0,40,yellow
  59.  
  60. &nbsp;&nbsp;&nbsp;
  61.  
  62. !set insdraw_size=200,200
  63. !set ins_anim_frames=15
  64. !set ins_anim_delay =0.3
  65. !set ins_anim_loop  =0
  66. !insdraw fill 0,0,white\
  67. transparent white\
  68. v=1.3\
  69. xrange -v,v\
  70. yrange -v,v\
  71. arrow -v,0,v,0,10,grey\
  72. arrow 0,-v,0,v,10,grey\
  73. linewidth 2\
  74. levelcurve green,x^4+y^4+(cos(s*pi)*x-sin(s*pi)*y)*(sin(s*pi)*x+cos(s*pi)*y),0,-0.06,0.2,0.6,1
  75.  
  76. </td></tr>
  77. $table_tr <td>
  78. $name_gnuplot1 (
  79. !exec insplot_about
  80. ). $name_gnuplot2
  81.  </td><td>
  82. !set ins_border=2
  83. !set insplot_set=size 0.6,0.6
  84. !set insplot_colors= xffffff x000000 x404040 \
  85.  x$color_1 x$color_2 x$color_3 x$color_4 x$color_5 x$color_6 x$color_7 x$color_8 x$color_9 x$color_10
  86. !insplot [-5:5] [-1.4:1.4] sin(x),cos(x),-sin(x),-cos(x)
  87. </td></tr>
  88. $table_tr <td>
  89. $name_graphviz1
  90. !!!! no space after about ...
  91. !exec graphviz about
  92.  $name_graphviz2
  93. </td><td>
  94. !set graphviz_dot=neato
  95. !set graph=!exec graphviz digraph test {rankdir=LR ; a->b [color=red] ; b-> c; a-> é ; c-> é}
  96. !set graph=!line 1 of $graph
  97.  <img src="$graph" alt="graphviz">
  98. </td></tr>
  99. $table_tr<td>
  100. $name_povray1
  101. !exec povray about
  102.  $name_povray2
  103.  !set wims_ref_class=wims_button_help
  104.  !href cmd=help&help_subject=soft&help_conf=povray $wims_name_help
  105. </td>
  106. <td>
  107. !set povray_width=200
  108. !set povray_height=200
  109. !set povsrc=!record 0 of conf/pov.src
  110. !set rayout=!exec povray $povsrc
  111. !line 1 of $rayout
  112. </td></tr>
  113. $table_end
  114.