Subversion Repositories wimsdev

Rev

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

Rev 32 Rev 1091
Line 1... Line 1...
1
<p>
1
<p>
2
WIMS has a very simple way to let you make use of many of its features,
2
WIMS has a very simple way to let you make use of many of its features,
3
without being a specialist of its structure: $emph light phtml$emphend.
3
without being a specialist of its structure: $emph light phtml$emphend.
4
Just take any of your existing html page, add a few WIMS
4
Just take any of your existing html page, add a few WIMS
5
commands here and there, and publish it on a WIMS site as a light phtml
5
commands here and there, and publish it on a WIMS site as a light phtml
6
file. And voila your page looks much more intelligent.
6
file. And your page looks much more intelligent.
7
<p>
7
<p>
8
Once your page is on a wims site, it can be called from anywhere on the web,
8
Once your page is on a wims site, it can be called from anywhere on the web,
9
just like an ordinary web page.
9
just like an ordinary web page.
10
<p>
10
<p>
11
It goes without saying that really intelligent pages require intelligent
11
It goes without saying that really intelligent pages require intelligent
Line 19... Line 19...
19
 <li>Inline mathematical symbols. Simply write
19
 <li>Inline mathematical symbols. Simply write
20
  <tt>$$m_alpha$$m_le$$m_beta</tt> in your phtml file, and you get
20
  <tt>$$m_alpha$$m_le$$m_beta</tt> in your phtml file, and you get
21
  $m_alpha$m_le$m_beta under wims. Your visitor will
21
  $m_alpha$m_le$m_beta under wims. Your visitor will
22
  be able to choose the size of the font he wants (as well as the instex
22
  be able to choose the size of the font he wants (as well as the instex
23
  font sizes as below), without you having to worry about this. See also the section
23
  font sizes as below), without you having to worry about this. See also the section
24
  $(ref1)mathfonts$(ref2)mathfonts>$title_mathfonts</a>. <p>
24
  $(ref1)mathfonts$(ref2)mathfonts">$title_mathfonts</a>. <p>
25
 
25
 
26
 <li>For more complicated mathematical formulas, you can choose to use
26
 <li>For more complicated mathematical formulas, you can choose to use
27
  $(ref1)cmdlist_instex_&cmd_choose=all$(ref2)cmdlist_instex_>instex</a>.
27
  $(ref1)cmdlist_instex_&+cmd_choose=all$(ref2)cmdlist_instex_">instex</a>.
28
  For example, the line
28
  For example, the line
29
  !set ins_align=middle
29
  !set ins_align=middle
30
  <pre>
30
  <pre>
31
  $ !instex $$$$ \int^b_a \sqrt{x^2+1}dx $$$$
31
  $ !instex $$$$ \int^b_a \sqrt{x^2+1}dx $$$$
32
  </pre>
32
  </pre>
Line 43... Line 43...
43
  also be a WIMS command translating raw mathematical
43
  also be a WIMS command translating raw mathematical
44
  expressions into TeX source. So you even don't have to know TeX in order to
44
  expressions into TeX source. So you even don't have to know TeX in order to
45
  insert beautified equations... <p>
45
  insert beautified equations... <p>
46
 
46
 
47
 <li>Dynamic insertion of graphisms. Just one WIMS command
47
 <li>Dynamic insertion of graphisms. Just one WIMS command
48
  ($(ref1)cmdlist_insplot_&cmd_choose=all$(ref2)cmdlist_insplot_>insplot</a>)
48
  ($(ref1)cmdlist_insplot_&+cmd_choose=all$(ref2)cmdlist_insplot_">insplot</a>)
49
  with an equation, and your page will contain a figure which may be
49
  with an equation, and your page will contain a figure which may be
50
  animated in the way you like. And it may be made to vary from
50
  animated in the way you like. And it may be made to vary from
51
  request to request... <p>
51
  request to request... <p>
52
 
52
 
53
 <li>You may define and use substitutable variables. The value of these
53
 <li>You may define and use substitutable variables. The value of these
Line 68... Line 68...
68
</ol>
68
</ol>
69
 
69
 
70
At any time, when you want heavy interactivity features, you can migrate
70
At any time, when you want heavy interactivity features, you can migrate
71
your light page into a real WIMS module which allows you to built very
71
your light page into a real WIMS module which allows you to built very
72
complicated structures. See the chapter
72
complicated structures. See the chapter
73
$(ref1)migrate$(ref2)mibrate>$title_migrate</a>.
73
$(ref1)migrate$(ref2)mibrate">$title_migrate</a>.
74
 
74
 
75
<p>
75
<p>
76
 
76
 
77
Now $(ref1)lighthowto$(ref2)lighthowto>read this</a> for the detail of how
77
Now $(ref1)lighthowto$(ref2)lighthowto">read this</a> for the detail of how
78
to publish a light phtml page.
78
to publish a light phtml page.
79
 
79