Rev 9071 | Rev 11288 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2026 | bpr | 1 | !read tabletheme |
2 | !set var_lst=$table_tr<td>$emph |
||
11282 | bpr | 3 | !set emphend0=$emphend</td><td> |
5920 | bpr | 4 | !set emphend1=</td></tr> |
5982 | bpr | 5 | !reset table_center |
2026 | bpr | 6 | $table_header |
7 | <caption>Variables for general purposes by wims server</caption> |
||
8 | $var_lst wims_exec_error$emphend0 is used to store error messages |
||
9071 | bpr | 9 | of the external program called by |
1091 | bpr | 10 | $(ref1)cmdlist_exec_&+cmd_choose=all$(ref2)cmdlist_exec_">!exec</a>. |
32 | reyssat | 11 | For this reason, |
12 | this variable will be overwritten each time a $emph!exec$emphend |
||
13 | command is executed. |
||
5920 | bpr | 14 | $emphend1$var_lst wims_module_log$emphend0 is used for individual |
32 | reyssat | 15 | module's log files: if this variable is non-empty, wims.cgi will put its |
16 | content into the module's log file, at the end of the process of the |
||
17 | user request. |
||
5920 | bpr | 18 | $emphend1$var_lst wims_version$emphend0 has a value preset to the |
32 | reyssat | 19 | current version of the wims server. |
5920 | bpr | 20 | $emphend1$var_lst wims_version_date$emphend0 has a value preset to the |
32 | reyssat | 21 | last compile date of the server program. |
9071 | bpr | 22 | $emphend1$var_lst wims_site_manager$emphend0 contains the electronic address of the |
32 | reyssat | 23 | site manager, as defined in the configuration file |
24 | $emph wims.conf$emphend of the site. Modules should not modify this |
||
25 | variable. |
||
9071 | bpr | 26 | $emphend1$var_lst wims_print_precision$emphend0 defines the printing precision when a |
5921 | bpr | 27 | result of evaluation (via <span class="tt">!eval</span> or <span class="tt">$[...]</span>) is converted to |
32 | reyssat | 28 | a character string. Default value: $emph$wims_print_precision$emphend |
29 | (may be modified in wims.conf). |
||
5920 | bpr | 30 | $emphend1$var_lst wims_warn_$emphend0... is ... |
31 | $emphend1$var_lst wims_compare_precision$emphend0 is used to define error tolerance |
||
5921 | bpr | 32 | when wims compares two numerical values. Formula: <span class="tt">!ifval a=b</span> will |
5982 | bpr | 33 | return TRUE if <p class="wimscenter"> |
34 | abs(a-b)*$$wims_compare_precision<abs(a+b)+1/$$wims_compare_precision. </p> |
||
32 | reyssat | 35 | Default value: $emph$wims_compare_precision$emphend (may be modified in wims.conf). |
5920 | bpr | 36 | $emphend1$var_lst wims_texsize$emphend0 can be used to modify TeX sizes for the |
32 | reyssat | 37 | module. Default value is 0 (no change). Maybe 1,2,... (increase TeX size) or |
38 | -1,-2... (decrease TeX size). |
||
5920 | bpr | 39 | $emphend1$var_lst wims_homeref_parm$emphend0 is reserved for future use in the command |
5921 | bpr | 40 | <span class="tt">!homeref</span>. |
5920 | bpr | 41 | $emphend1$var_lst wims_homeref_bgcolor$emphend0 is... |
42 | $emphend1$var_lst wims_rawmath_functions$emphend0 is used to tell rawmath routine that |
||
32 | reyssat | 43 | the words contained in the variable value should be treated as function names. |
44 | These words can be separated either by white space or by comma. |
||
5920 | bpr | 45 | $emphend1$var_lst wims_rawmath_variables$emphend0 is used to tell rawmath routine that |
32 | reyssat | 46 | the words contained in the variable value should be treated as math variable |
47 | names. These words can be separated either by white space or by comma. |
||
5920 | bpr | 48 | $emphend1$var_lst wims_ref_name$emphend0 gives the addess of the wims serveur (for this server, $wims_ref_name) |
49 | $emphend1$var_lst httpd_HTTP_HOST$emphend0 gives the name of the wims serveur (for this server, $httpd_HTTP_HOST) |
||
50 | $emphend1$var_lst wims_ref_target$emphend0 defines the target of the command |
||
9071 | bpr | 51 | <span class="tt">!href, !homeref, !form</span>. Its value is <b>not</b> automatically |
32 | reyssat | 52 | reset to empty after the commands. (Defaults to empty string, meaning that |
53 | the target is the current document.) |
||
5920 | bpr | 54 | $emphend1$var_lst wims_ref_id$emphend0 defines the id in the command |
9071 | bpr | 55 | <span class="tt">!href</span> (<a ... id=" ">) and |
56 | in the commands <span class="tt">!formradio</span>, |
||
57 | <span class="tt">!formcheckbox</span>. Its value is automatically |
||
1390 | bpr | 58 | reset to empty after the commands. (Defaults to empty string) |
5920 | bpr | 59 | $emphend1$var_lst wims_ref_class$emphend0 defines the css class in the command |
9071 | bpr | 60 | <span class="tt">!href</span> (<a ... class=" ">). Its value is automatically |
2026 | bpr | 61 | reset to empty after the command. (Defaults to empty string) |
5920 | bpr | 62 | $emphend1$var_lst wims_ref_title$emphend0 defines the title in the command |
9071 | bpr | 63 | <span class="tt">!href</span> (<a ... title=" ">). Its value is automatically |
2026 | bpr | 64 | reset to empty after the command. (Defaults to empty string) |
9071 | bpr | 65 | $emphend1$var_lst wims_html_mode$emphend0 can be used before a command |
66 | as <span class="tt">!formradio</span>, <span class="tt">!formcheckbox</span>. It forces |
||
67 | the results of the formradio to be inside the html mode. The value must be |
||
68 | <span class="tt">span</span>, <span class="tt">li</span>, |
||
69 | <span class="tt">div</span>. It could be <span class="tt">td</span>. |
||
5920 | bpr | 70 | $emphend1$var_lst wims_html_header$emphend0 is the standardised html header for all |
32 | reyssat | 71 | its modules' html outputs. Its value is defined in the file |
72 | html/header.phtml. It is highly recommended that modules use this variable |
||
73 | to define their html headers. |
||
5920 | bpr | 74 | $emphend1$var_lst wims_expire$emphend0 is used to define expiration dates of the |
32 | reyssat | 75 | pages sent to clients. Don't touch it if you don't know what this means. |
5920 | bpr | 76 | $emphend1$var_lst module_init_parm$emphend0 is... |
77 | $emphend1 |
||
2026 | bpr | 78 | $table_end |
5798 | bpr | 79 | |
80 | |||
5766 | bpr | 81 | !set resetyes=<br/>This variable is reset to empty after a dynamic insertion. |
2026 | bpr | 82 | $table_header |
83 | <caption>Variables reserved for dynamic insertions</caption> |
||
84 | $var_lst ins_align$emphend0 defines the manner in which the inline picture |
||
32 | reyssat | 85 | is aligned with respect to the line. Possible values: bottom, middle or top. |
86 | Default is empty (which means bottom). |
||
9071 | bpr | 87 | $var_lst ins_attr$emphend0 is used to define miscallaneous attributes of a |
32 | reyssat | 88 | dynamic insertion. Examples: |
89 | <pre> ins_attr = align=middle</pre> |
||
90 | (aligns the middle of the image with the baseline for the current |
||
91 | textline), or |
||
92 | <pre> ins_attr = ismap</pre> |
||
93 | (coordinates of the click will be passed back to the server; if the link |
||
94 | of the element is the wims server, the coordinates will be registered |
||
95 | under the variable $emph no_name$emphend.) |
||
96 | $resetyes |
||
2026 | bpr | 97 | $var_lst ins_border$emphend0 is used to define border width of the html |
32 | reyssat | 98 | element $emph IMG $emphend |
9071 | bpr | 99 | resulted from the dynamic insertion. Its value should be a positive |
32 | reyssat | 100 | number. |
101 | $resetyes |
||
2026 | bpr | 102 | $var_lst ins_density$emphend0 is used to define the density of the dynamic |
32 | reyssat | 103 | insertions. Default value: $emph 100x100 $emphend. |
5766 | bpr | 104 | <br/> |
5798 | bpr | 105 | <span class="wims_warning">Avoid using this variable!</span> We are planning to |
32 | reyssat | 106 | suppress it. Will be replaced by a server-managed variable. |
2026 | bpr | 107 | $var_lst ins_format$emphend0 can be used to determine the format of the |
32 | reyssat | 108 | graphics file of the dynamic insertion: its value should be either $emph |
109 | gif$emphend or $emph jpg$emphend. The default value of this variable is |
||
110 | $emph gif$emphend (which can be changed by modifying the file $emph |
||
5766 | bpr | 111 | wims.conf$emphend; but such change is not recommended). <br/> |
32 | reyssat | 112 | Some types of dynamic insertions may not be affected by this variable. |
2026 | bpr | 113 | $var_lst ins_quality$emphend0 is used to define quality of the graphics |
32 | reyssat | 114 | convertion used in dynamic insertions. Its value should be between 0 and |
115 | 100. Affects only dynamic insertions whose graphics format is jpg. |
||
2026 | bpr | 116 | $var_lst ins_tag$emphend0 is used for dynamic insertions within a form. |
5766 | bpr | 117 | In this case define<br/> |
5921 | bpr | 118 | <span class="tt">ins_tag=form </span>$emph name$emphend<br/> |
32 | reyssat | 119 | where $emph name$emphend is the name of the html element $emph IMG $emphend |
120 | within the form (optional). |
||
121 | $resetyes |
||
4632 | bpr | 122 | $var_lst insdraw_size$emphend0 is the size in pixels for the dynamic insertion. |
9071 | bpr | 123 | $var_lst ins_filename$emphend0 is the name of the graphics file of the dynamic insertion |
4632 | bpr | 124 | (generated by wims). It must be taken just after the command !insdraw |
125 | $var_lst ins_url$emphend0 is the url of the graphics file of the dynamic insertion. |
||
126 | It must be taken just after the command !insdraw |
||
2026 | bpr | 127 | $var_lst insplot_data$emphend0 is ... |
128 | $var_lst insplot_font$emphend0 is ... |
||
129 | $var_lst insplot_set $emphend0 is ... |
||
130 | $var_lst insplot_split$emphend0 is ... |
||
131 | $var_lst insplot_transparent$emphend0 is used to define transparent color |
||
32 | reyssat | 132 | for insertions. Default is empty (no transparency). Usual value: 255,255,255 |
133 | (white is transparent). |
||
2026 | bpr | 134 | $table_end |
32 | reyssat | 135 | |
2925 | bpr | 136 | $table_header |
137 | <caption>Variables reserved for software</caption> |
||
138 | $var_lst wims_backslash_insmath is ... |
||
139 | $var_lst pari_precision (dans oef ??) |
||
140 | $var_lst print_precision |
||
141 | $var_lst maxima_precision |
||
142 | $var_lst wims_multiexec |
||
143 | $table_end |
||
32 | reyssat | 144 | !! module_about |
145 | !! module_about_bgcolor |
||
146 | !! ins_anim_loop |
||
147 | !! ins_anim_delay |
||
148 | !! ins_anim_frames |