Rev 13306 | Rev 13975 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13306 | Rev 13919 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | !default slib_cmd=resume |
26 | !default slib_cmd=resume |
27 | !default slib_detname=special_cmd |
27 | !default slib_detname=special_cmd |
28 | !set slib_detail=\$(\$slib_detname) |
28 | !set slib_detail=\$(\$slib_detname) |
29 | 29 | ||
30 | !if \$slib_detail!=\$empty |
30 | !if \$slib_detail!=\$empty |
31 | !readproc slib/\$slib_detail slib_header |
31 | !readproc slib/\$slib_detail slib_header |
32 | !reset slib_lang_exists_tmp |
32 | !reset slib_lang_exists_tmp |
33 | !readproc help/\$lang/slib/\$slib_detail |
33 | !readproc help/\$lang/slib/\$slib_detail |
34 | !if \$slib_lang_exists_tmp!=yes |
34 | !if \$slib_lang_exists_tmp!=yes |
35 | !readproc help/en/slib/\$slib_detail |
35 | !readproc help/en/slib/\$slib_detail |
36 | !endif |
36 | !endif |
37 | !distribute lines \$slib_parms into slpcnt,slp1,slp2,slp3,slp4,slp5,slp6,slp7,slp8,slp9,slp10,slp11,slp12 |
37 | !distribute lines \$slib_parms into slpcnt,slp1,slp2,slp3,slp4,slp5,slp6,slp7,slp8,slp9,slp10,slp11,slp12 |
38 | !for i=1 to \$slpcnt |
38 | !for i=1 to \$slpcnt |
39 | !set slpdflt\$i=!item 1 of \$(slp\$i) |
39 | !set slpdflt\$i=!item 1 of \$(slp\$i) |
40 | !set slp\$i=!item 2 to -1 of \$(slp\$i) |
40 | !set slp\$i=!item 2 to -1 of \$(slp\$i) |
41 | !next i |
41 | !next i |
42 | !readproc namewriting.phtml \$slib_author |
42 | !readproc namewriting.phtml \$slib_author |
43 | !set slib_author=\$script_out |
43 | !set slib_author=\$script_out |
44 | !reset table_center |
44 | !reset table_center |
45 | \$table_header |
45 | \$table_header |
46 | <caption>\$wims_name_slib</caption> |
46 | <caption>\$wims_name_slib</caption> |
47 | \$table_tr<th>\$wims_name_name</th><td class="tt">\$slib_detail</td></tr> |
47 | \$table_tr<th>\$wims_name_name</th><td class="tt">\$slib_detail</td></tr> |
48 | \$table_tr<th>\$wims_name_title</th><td>\$slib_title</td></tr> |
48 | \$table_tr<th>\$wims_name_title</th><td>\$slib_title</td></tr> |
49 | \$table_tr<th>\$wims_name_Author</th><td>\$slib_author</td></tr> |
49 | \$table_tr<th>\$wims_name_Author</th><td>\$slib_author</td></tr> |
50 | \$table_tr<th>\$wims_name_call1</th><td><code>!readproc slib/\$slib_detail [parameters]</code> |
50 | \$table_tr<th>\$wims_name_call1</th><td><code>!readproc slib/\$slib_detail [parameters]</code> |
51 | <br />(\$wims_name_result <span class="tt">slib_out</span>)</td></tr> |
51 | <br />(\$wims_name_result <span class="tt">slib_out</span>)</td></tr> |
52 | \$table_tr<th>\$wims_name_call2</th><td><code>slib(\$slib_detail [parameters])</code></td></tr> |
52 | \$table_tr<th>\$wims_name_call2</th><td><code>slib(\$slib_detail [parameters])</code></td></tr> |
53 | \$table_tr<th>\$wims_name_Parameters</th><td> |
53 | \$table_tr<th>\$wims_name_Parameters</th><td> |
54 | !if \$slpcnt>1 |
54 | !if \$slpcnt>1 |
55 | !if + isin \$slpcnt |
55 | !if + isin \$slpcnt |
56 | \$wims_name_variable_list |
56 | \$wims_name_variable_list |
- | 57 | !else |
|
- | 58 | \$wims_name_upto |
|
- | 59 | !endif |
|
57 | !else |
60 | !else |
58 |
|
61 | \$slpcnt |
59 | !endif |
62 | !endif |
60 | !else |
- | |
61 | \$slpcnt |
- | |
62 | !endif |
- | |
63 | </td></tr> |
63 | </td></tr> |
64 | !for i=1 to \$slpcnt |
64 | !for i=1 to \$slpcnt |
65 | \$table_tr<th>\$wims_name_Parameter \$i |
65 | \$table_tr<th>\$wims_name_Parameter \$i |
66 | !ifval \$i=\$slpcnt and + isin \$slpcnt |
66 | !ifval \$i=\$slpcnt and + isin \$slpcnt |
67 | and up |
67 | and up |
- | 68 | !endif |
|
- | 69 | </th> |
|
- | 70 | <td>\$(slp\$i) |
|
- | 71 | !if \$(slpdflt\$i)!=\$empty |
|
- | 72 | <div class="param_default"><em>(\$wims_name_default: <span class="tt">\$(slpdflt\$i)</span>)</em></div> |
|
- | 73 | !endif |
|
- | 74 | </td></tr> |
|
- | 75 | !next i |
|
- | 76 | \$table_tr<th>\$wims_name_Output</th><td>\$slib_out</td></tr> |
|
- | 77 | !if \$slib_comment!=\$empty |
|
- | 78 | \$table_tr<th>\$wims_name_comment</th><td>\$slib_comment</td></tr> |
|
68 | !endif |
79 | !endif |
69 | </th> |
- | |
70 | <td>\$(slp\$i) |
- | |
71 | !if |
80 | !if \$slib_require!=\$empty |
72 | < |
81 | \$table_tr<th>\$wims_name_Required_Software</th><td class="tt">\$slib_require</td></tr> |
73 | !endif |
82 | !endif |
74 | </td></tr> |
- | |
75 | !next i |
- | |
76 | \$table_tr<th>\$wims_name_Output</th><td>\$slib_out</td></tr> |
- | |
77 | !if \$slib_comment!=\$empty |
- | |
78 | \$table_tr<th>\$wims_name_comment</th><td>\$slib_comment</td></tr> |
- | |
79 | !endif |
- | |
80 | !if \$slib_require!=\$empty |
- | |
81 | \$table_tr<th>\$wims_name_Required_Software</th><td class="tt">\$slib_require</td></tr> |
- | |
82 | !endif |
- | |
83 | !if \$slib_example!=\$empty |
83 | !if \$slib_example!=\$empty |
84 | !set excnt=!linecnt \$slib_example |
84 | !set excnt=!linecnt \$slib_example |
85 | \$table_tr<th>\$wims_name_Example OEF </th><td> |
85 | \$table_tr<th>\$wims_name_Example OEF </th><td> |
86 | !for i=1 to \$excnt |
86 | !for i=1 to \$excnt |
87 |
|
87 | !set slib_exemple=!line \$i of \$slib_example |
88 | <hr /> |
88 | <hr /> |
89 | <code>\text{A=slib(\$slib_detail \$slib_exemple)}</code> |
89 | <code>\text{A=slib(\$slib_detail \$slib_exemple)}</code> |
90 | !set slib_wims_backslash=\$wims_backslash_insmath |
90 | !set slib_wims_backslash=\$wims_backslash_insmath |
91 | !set wims_backslash_insmath=yes |
91 | !set wims_backslash_insmath=yes |
92 |
|
92 | !readproc slib/\$slib_detail \$slib_exemple |
93 | <p>\$wims_name_Output:</p> |
93 | <p>\$wims_name_Output:</p> |
94 | !if table notin \$slib_out and object notin \$slib_out and bubble notin \$slib_out and geogebra notin \$slib_detail |
94 | !if table notin \$slib_out and object notin \$slib_out and bubble notin \$slib_out and geogebra notin \$slib_detail |
95 | <pre>\$slib_out</pre> |
95 | <pre>\$slib_out</pre> |
96 | !else |
96 | !else |
97 | \$slib_out |
97 | \$slib_out |
98 | !endif |
98 | !endif |
99 | !set wims_backslash_insmath=\$slib_wims_backslash |
99 | !set wims_backslash_insmath=\$slib_wims_backslash |
100 | !reset slib_wims_backslash |
100 | !reset slib_wims_backslash |
101 | !next i |
101 | !next i |
102 | !reset slib_exemple |
102 | !reset slib_exemple |
103 | </td></tr> |
103 | </td></tr> |
104 | !endif |
104 | !endif |
105 | 105 | ||
106 | \$table_end |
106 | \$table_end |
107 | !reset \$slib_detname |
107 | !reset \$slib_detname |
108 | !exit |
108 | !exit |
109 | !endif |
109 | !endif |
110 | \$wims_name_instruction |
110 | \$wims_name_instruction |
111 | 111 | ||
112 | !read slib/index.phtml.\$lang |
112 | !read slib/index.phtml.\$lang |
113 | @ |
113 | @ |
114 | for ll in $language |
114 | for ll in $language |
115 | do |
115 | do |
116 | echo |
116 | echo "!! This file is automatically generated! Do not edit it. |
117 | !! Edit the script 'mkindex'. |
117 | !! Edit the script 'mkindex'. |
118 | 118 | ||
119 | !reset table_center |
119 | !reset table_center |
120 | <h2>\$wims_name_listslib</h2> |
120 | <h2>\$wims_name_listslib</h2> |
121 | <div id='listslib'> |
121 | <div id='listslib'> |
122 | <ul>" > index.phtml.$ll |
122 | <ul>" > index.phtml.$ll |
123 | echo |
123 | echo "" > index.phtml.temp |
124 | cnt_slib_tot=0 |
124 | cnt_slib_tot=0 |
125 | 125 | ||
126 | for categorie in `find . -maxdepth 1 -type d | sed 's!^\./!!g' | egrep -v '\/\.svn\/' | sort` |
126 | for categorie in `find . -maxdepth 1 -type d | sed 's!^\./!!g' | egrep -v '\/\.svn\/' | sort` |
127 | do |
127 | do |
128 | if [ "$categorie" = "." ];then |
128 | if [ "$categorie" = "." ];then |
Line 197... | Line 197... | ||
197 | //goto that anchor by setting the body scroll top to anchor top |
197 | //goto that anchor by setting the body scroll top to anchor top |
198 | jq('html, body').animate({scrollTop:target_top}); |
198 | jq('html, body').animate({scrollTop:target_top}); |
199 | }); |
199 | }); |
200 | }); /*]]>*/ |
200 | }); /*]]>*/ |
201 | </script> |
201 | </script> |
202 | <style |
202 | <style> |
203 | /*<![CDATA[*/\ |
203 | /*<![CDATA[*/\ |
204 | /*.ui-tabs-vertical { width: 55em; }*/ |
204 | /*.ui-tabs-vertical { width: 55em; }*/ |
205 | .ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; /*width: 12em;*/ } |
205 | .ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; /*width: 12em;*/ } |
206 | .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; } |
206 | .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; } |
207 | .ui-tabs-vertical .ui-tabs-nav li a { display:block; } |
207 | .ui-tabs-vertical .ui-tabs-nav li a { display:block; } |