Rev 5895 | Rev 6194 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5895 | Rev 6183 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | !let module_level= |
11 | !let module_level= |
12 | !let module_domain=adm |
12 | !let module_domain=adm |
13 | !let module_keywords=wims |
13 | !let module_keywords=wims |
14 | !!INDEXEND |
14 | !!INDEXEND |
15 | 15 | ||
16 | !let tip='<ul><li>FireFox <a target=\'new\' href=\'http://www.mozilla-europe.org/$module_language/\'><img src=\'gifs/mathml/getFireFox.gif\' alt=\'get FireFox\' |
16 | !let tip='<ul><li>FireFox <a target=\'new\' href=\'http://www.mozilla-europe.org/$module_language/\'><img src=\'gifs/mathml/getFireFox.gif\' alt=\'get FireFox\'/></a></li><li>Windows<ul><li>Internet Explorer: <a target=\'new\' href=\'http://www.dessci.com/en/products/mathplayer/\'><img src=\'gifs/mathml/dessci_logo.gif\' alt=\'dessci\'/> DESSCI MathPlayer plugin</a><li>Opera: <a target=\'new\' href=\'http://xml-maiden.com/userjs/mathml/\'>UserJS MathML plugin</a></ul></li><li>Safari</li></ul>' |
17 | 17 | ||
18 | 18 | ||
19 | !let texsize=!char 1 of $useropts |
19 | !let texsize=!char 1 of $useropts |
20 | !let texalign=!char 2 of $useropts |
20 | !let texalign=!char 2 of $useropts |
21 | !let default=$[$wims_texbasesize-1] |
21 | !let default=$[$wims_texbasesize-1] |
22 | !default texsize=$default |
22 | !default texsize=$default |
23 | !let default=!char 1 of $default |
23 | !let default=!char 1 of $default |
24 | !default texalign=$talign |
24 | !default texalign=$talign |
- | 25 | !set zoom=!char 3 of $useropts |
|
- | 26 | !set font=!char 4 of $useropts |
|
- | 27 | !default zoom=0 |
|
- | 28 | !default font=0 |
|
25 | !set arg=!nospace $texsize 1 |
29 | !set arg=!nospace $texsize 1 |
26 | 30 | ||
27 | !let useropt2=!char 3 to -1 of $useropts |
31 | !let useropt2=!char 3 to -1 of $useropts |
28 | !if $useropts!=$empty and $wims_realuser!=$empty |
32 | !if $useropts!=$empty and $wims_realuser!=$empty |
29 | !readproc adm/class/userdef classes,$wims_class,$wims_realuser |
33 | !readproc adm/class/userdef classes,$wims_class,$wims_realuser |
30 | !setdef !set user_opts=$useropts in $userdef |
34 | !setdef !set user_opts=$useropts in $userdef |
31 | !setdef wims_useropts=$useropts in wimshome/$wims_sesdir/var.stat |
35 | !setdef wims_useropts=$useropts in wimshome/$wims_sesdir/var.stat |
32 | !endif |
36 | !endif |
33 | 37 | ||
34 | !set zoom=!char 3 of $useropts |
- | |
35 | 38 | ||
36 | !header |
39 | !header |
37 | <script type="text/javascript" src="scripts/js/wz_tooltip.js"></script> |
40 | <script type="text/javascript" src="scripts/js/wz_tooltip.js"></script> |
38 |
|
41 | Cette page a pour but de régler quelques préférences sur WIMS. |
39 | on WIMS. |
- | |
40 | <ul> |
42 | |
41 | !if $wims_user=$empty |
43 | !if $wims_user=$empty |
- | 44 | <h2> |
|
42 |
|
45 | Default language |
- | 46 | </h2> |
|
- | 47 | <p> |
|
- | 48 | Choissisez la langue d'affichage du site : |
|
43 | !set wims_language_cnt=!wordcnt $wims_site_languages |
49 | !set wims_language_cnt=!wordcnt $wims_site_languages |
44 | !for l=1 to $wims_language_cnt |
50 | !for l=1 to $wims_language_cnt |
45 | !let la=!word $l of $wims_site_languages |
51 | !let la=!word $l of $wims_site_languages |
46 | !href cmd=resume&phtml=useropts.phtml.$la&lang=$la <img src="gifs/$la.gif" alt="$la.gif" |
52 | !href cmd=resume&phtml=useropts.phtml.$la&lang=$la <img src="gifs/$la.gif" alt="$la.gif" style="height:1.1em;" />$(lang_name_$la) |
47 | |
53 | |
48 | !next l |
54 | !next l |
49 | </ |
55 | </p> |
- | 56 | ||
50 | !endif |
57 | !endif |
51 | 58 | ||
52 | < |
59 | <h2> |
53 | Mathematical formulas. |
60 | Mathematical formulas. |
- | 61 | </h2> |
|
- | 62 | <p> |
|
- | 63 | Le serveur permet 2 modes d'affichage des formules : le mode image, ou l'utilisation de MathML (à condition que votre navigateur le supporte).</p> |
|
- | 64 | Voici quelques exemples : |
|
- | 65 | <ul> |
|
- | 66 | <li> |
|
- | 67 | Greek letters: |
|
- | 68 | <pre> |
|
- | 69 | !insmath alpha != pi |
|
- | 70 | </pre> |
|
- | 71 | </li> |
|
- | 72 | <li> |
|
- | 73 | Mathematical expression |
|
- | 74 | !let ins_align=middle |
|
- | 75 | !! we need to force dynamic insertion |
|
- | 76 | !set pw=2 |
|
- | 77 | <pre> |
|
- | 78 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4ac}}{2a} |
|
- | 79 | </pre> |
|
- | 80 | </li> |
|
- | 81 | <li> |
|
- | 82 | A mixed inequality: |
|
- | 83 | <pre> |
|
- | 84 | !insmath | a + b | <= epsilon + 123.45 |
|
- | 85 | </pre> |
|
- | 86 | </li> |
|
- | 87 | </ul> |
|
54 | 88 | ||
55 | !if $texalign=2 |
89 | !if $texalign=2 |
- | 90 | <p> |
|
56 | The server is currently set to MathML if you have a suitable browser. |
91 | The server is currently set to MathML if you have a suitable browser. |
57 | <p class="wimscenter"> |
- | |
58 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{2} - 4 a c}}{2a} |
- | |
59 | </p> |
- | |
60 | If the formula is not correctly displayed, you can use another |
92 | If the formula is not correctly displayed, you can use another |
61 | <a onmouseover="return Tip($tip)" |
93 | <a onmouseover="return Tip($tip)" class="wims_emph" style="cursor:help;"> |
- | 94 | browser |
|
62 | </a> |
95 | </a> |
63 | or use the serveur with "math with images". |
96 | or use the serveur with "math with images". |
- | 97 | </p> |
|
- | 98 | <ul> |
|
- | 99 | <li> |
|
- | 100 | Modifier le mode d'affichage : |
|
64 | !set wims_ref_class=wims_button |
101 | !set wims_ref_class=wims_button |
- | 102 | !href cmd=resume&useropts=$(arg)0$font Math with images |
|
- | 103 | ||
- | 104 | !set arg=!nospace $texsize 2 |
|
65 |
|
105 | !set wims_ref_class=wims_button |
66 | !href cmd=resume& |
106 | !href cmd=resume&useropts=$(arg)0$font MathML |
- | 107 | ||
67 | </ |
108 | </li> |
68 |
|
109 | <li> |
69 | !let ts1=!eval $texsize-1 |
110 | !let ts1=!eval $texsize-1 |
70 | !let ts2=!eval $texsize+1 |
111 | !let ts2=!eval $texsize+1 |
71 | !if $ts1<1 |
112 | !if $ts1<1 |
72 | !let ts1=1 |
113 | !let ts1=1 |
73 | !endif |
114 | !endif |
74 | !if $ts2>9 |
115 | !if $ts2>9 |
75 | !let ts2=9 |
116 | !let ts2=9 |
76 | !endif |
117 | !endif |
77 | Set the size of mathematical formulas. |
118 | Set the size of mathematical formulas. |
78 | !set wims_ref_class=wims_button |
119 | !set wims_ref_class=wims_button |
79 | !href cmd=resume& |
120 | !href cmd=resume&useropts=$ts1$texalign$zoom$font <img src="gifs/doc/dgauche.gif" alt="gauche" style="width:1em"/> |
80 | |
- | |
81 | !set wims_ref_class=wims_button |
121 | !set wims_ref_class=wims_button |
82 | !href cmd=resume&useropts=$default Default |
122 | !href cmd=resume&useropts=$default Default |
83 | |
- | |
84 | !set wims_ref_class=wims_button |
123 | !set wims_ref_class=wims_button |
85 | !href cmd=resume& |
124 | !href cmd=resume&useropts=$ts2$texalign$zoom$font <img src="gifs/doc/ddroite.gif" alt="droite" style="width:1em"/> |
86 | </li><li> |
125 | </li><li> |
87 | !set zoom=1 |
- | |
88 | Use zoom on formulas by mouse click. |
126 | Use zoom on formulas by mouse click. |
89 | !set wims_ref_class=wims_button |
127 | !set wims_ref_class=wims_button |
90 | !href cmd=resume& |
128 | !href cmd=resume&useropts=$texsize$(texalign)1$font $wims_name_yes |
91 | !set zoom=0 |
- | |
92 | |
129 | |
93 | !set wims_ref_class=wims_button |
130 | !set wims_ref_class=wims_button |
94 | !href cmd=resume& |
131 | !href cmd=resume&useropts=$texsize$(texalign)0$font $wims_name_no |
95 | !else |
132 | !else |
- | 133 | <p> |
|
96 | Currently, you use the server with "Math with images". If you have a suitable |
134 | Currently, you use the server with "Math with images". If you have a suitable |
97 | <a onmouseover="return Tip($tip)" |
135 | <a onmouseover="return Tip($tip)" class="wims_emph" style="cursor:help;"> |
98 |
|
136 | browser |
99 |
|
137 | </a>, |
100 | !set wims_ref_class=wims_button |
- | |
101 |
|
138 | you may also use MathML. |
102 | </p> |
139 | </p> |
103 | 140 | ||
- | 141 | <ul> |
|
- | 142 | <li>Modifier le mode d'affichage : |
|
- | 143 | !set wims_ref_class=wims_button |
|
- | 144 | !href cmd=resume&useropts=$(arg)0$font Mode image |
|
- | 145 | ||
- | 146 | !set arg=!nospace $texsize 2 |
|
- | 147 | !set wims_ref_class=wims_button |
|
- | 148 | !href cmd=resume&useropts=$(arg)0$font MathML |
|
- | 149 | </li> |
|
- | 150 | ||
104 |
|
151 | <li> |
105 |
|
152 | Size of mathematical symbols and formulas. |
106 | !let ts1=!eval $texsize-1 |
153 | !let ts1=!eval $texsize-1 |
107 | !let ts2=!eval $texsize+1 |
154 | !let ts2=!eval $texsize+1 |
108 | !if $ts1<1 |
155 | !if $ts1<1 |
109 | !let ts1=1 |
156 | !let ts1=1 |
110 | !endif |
157 | !endif |
111 | !if $ts2>9 |
158 | !if $ts2>9 |
112 | !let ts2=9 |
159 | !let ts2=9 |
113 | !endif |
160 | !endif |
114 | !set wims_ref_class=wims_button |
161 | !set wims_ref_class=wims_button |
115 |
|
162 | !href cmd=resume&useropts=$ts1$texalign$zoom$font <img src="gifs/doc/dgauche.gif" style="width:1em"/> |
116 | |
- | |
117 | !set wims_ref_class=wims_button |
163 | !set wims_ref_class=wims_button |
118 |
|
164 | !href cmd=resume&useropts=$ts2$texalign$zoom$font <img src="gifs/doc/ddroite.gif" style="width:1em"/> |
119 | <p> |
- | |
120 | Greek letters $m_alpha, $m_pi. Mathematical expression |
- | |
121 | !let ins_align=middle |
- | |
122 | !! we need to force dynamic insertion |
- | |
123 | !set pw=2 |
- | |
124 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4ac}}{2a} |
- | |
125 | <br/> |
- | |
126 | A mixed inequality |
- | |
127 | </p><p class="wimscenter">| $m_a + $m_b | $m_le $m_varepsilon + 123.45.</p> |
- | |
128 | </li><li> |
165 | </li><li> |
129 | Position of the formulas. If the expression |
166 | Position of the formulas. If the expression |
130 | !insmath (x+y)/(x^$pw + y^2) |
167 | !insmath (x+y)/(x^$pw + y^2) |
131 | is |
168 | is |
132 | !if $texalign=1 |
169 | !if $texalign=1 |
133 | too high with respect to the text line, |
170 | too high with respect to the text line, |
- | 171 | !set wims_ref_class=wims_button |
|
134 | !href cmd=resume&useropts=$(texsize) |
172 | !href cmd=resume&useropts=$(texsize)0$zoom$font click here |
135 | to lower it. |
173 | to lower it. |
136 | !else |
174 | !else |
137 | too low with respect to the text line, |
175 | too low with respect to the text line, |
- | 176 | !set wims_ref_class=wims_button |
|
138 | !href cmd=resume&useropts=$(texsize) |
177 | !href cmd=resume&useropts=$(texsize)1$zoom$font click here |
139 | to raise it. |
178 | to raise it. |
140 | !endif |
179 | !endif |
141 | !set zoom=$empty |
- | |
142 | !endif |
180 | !endif |
143 | </li> |
181 | </li> |
144 | </ul> |
182 | </ul> |
145 | 183 | ||
- | 184 | <h2>Accessibilité</h2> |
|
- | 185 | ||
- | 186 | <p>Vous pouvez régler l'espacement des lettres et des mots |
|
- | 187 | !set wims_ref_class=wims_button |
|
- | 188 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)0 Normal |
|
- | 189 | ||
- | 190 | !set wims_ref_class=wims_button |
|
- | 191 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)1 Espacé |
|
- | 192 | </p><p> |
|
- | 193 | Le mode espacé est particulierement adapté dans le cas d'un lecteur dyslexique.</p> |
|
- | 194 | ||
- | 195 | <br class="spacer"/> |
|
- | 196 | <p> |
|
146 | !if $wims_user=$empty |
197 | !if $wims_user=$empty |
147 | When everything corresponds exactly to what you want, put |
198 | When everything corresponds exactly to what you want, put |
- | 199 | !set wims_ref_class=wims_button |
|
148 | <a href="$wims_ref_name?lang=$lang&+ |
200 | <a href="$wims_ref_name?lang=$lang&+useropts=$texsize$texalign$zoom$font" title="WIMS"> |
149 |
|
201 | this link |
- | 202 | </a> |
|
150 | into your bookmark, to keep these preferences for your future connections. |
203 | into your bookmark, to keep these preferences for your future connections. |
151 | !else |
204 | !else |
152 | Your preferences will be preserved in your future logins in this class. |
205 | Your preferences will be preserved in your future logins in this class. |
153 | !endif |
206 | !endif |
- | 207 | </p> |
|
154 | 208 | ||
155 | :end |
209 | :end |
156 | !tail |
210 | !tail |
157 | 211 |