Rev 7029 | Rev 8002 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !!INDEX |
5524 | bpr | 2 | !let module_author=XIAO, Gang |
3 | !let module_address=xiao@unice.fr |
||
4 | !let module_title=Setup your preferences for WIMS |
||
5 | !let module_description=define preferences for wims |
||
6 | !let module_version=1.00 |
||
23 | reyssat | 7 | !let module_wims_version=0.13 |
5524 | bpr | 8 | !let module_language=en |
5708 | bpr | 9 | !let module_copyright=© 1998 (<a href="COPYING">GNU GPL</a>) |
5524 | bpr | 10 | !let module_category=adm |
11 | !let module_level= |
||
12 | !let module_domain=adm |
||
13 | !let module_keywords=wims |
||
23 | reyssat | 14 | !!INDEXEND |
15 | |||
7336 | schaersvoo | 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>Google Chrome <a target=\'new\' href=\'https://chrome.google.com/webstore/detail/mathjax-for-chrome/elbbpgnifnallkilnkofjcgjeallfcfa\'> MathJax Extension </a><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>' |
5524 | bpr | 17 | |
18 | |||
23 | reyssat | 19 | !let texsize=!char 1 of $useropts |
20 | !let texalign=!char 2 of $useropts |
||
5524 | bpr | 21 | !let default=$[$wims_texbasesize-1] |
22 | !default texsize=$default |
||
23 | !let default=!char 1 of $default |
||
23 | reyssat | 24 | !default texalign=$talign |
6183 | bpr | 25 | !set zoom=!char 3 of $useropts |
26 | !set font=!char 4 of $useropts |
||
27 | !default zoom=0 |
||
28 | !default font=0 |
||
5524 | bpr | 29 | !set arg=!nospace $texsize 1 |
30 | |||
23 | reyssat | 31 | !let useropt2=!char 3 to -1 of $useropts |
32 | !if $useropts!=$empty and $wims_realuser!=$empty |
||
33 | !readproc adm/class/userdef classes,$wims_class,$wims_realuser |
||
34 | !setdef !set user_opts=$useropts in $userdef |
||
35 | !setdef wims_useropts=$useropts in wimshome/$wims_sesdir/var.stat |
||
36 | !endif |
||
37 | |||
7029 | bpr | 38 | |
23 | reyssat | 39 | !header |
5524 | bpr | 40 | <script type="text/javascript" src="scripts/js/wz_tooltip.js"></script> |
6183 | bpr | 41 | Cette page a pour but de régler quelques préférences sur WIMS. |
42 | |||
23 | reyssat | 43 | !if $wims_user=$empty |
6183 | bpr | 44 | <h2> |
45 | Default language |
||
46 | </h2> |
||
47 | <p> |
||
7029 | bpr | 48 | Choissisez la langue d'affichage du site : |
2686 | bpr | 49 | !set wims_language_cnt=!wordcnt $wims_site_languages |
23 | reyssat | 50 | !for l=1 to $wims_language_cnt |
51 | !let la=!word $l of $wims_site_languages |
||
6183 | bpr | 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) |
23 | reyssat | 53 | |
54 | !next l |
||
6183 | bpr | 55 | </p> |
56 | |||
23 | reyssat | 57 | !endif |
5524 | bpr | 58 | |
6183 | bpr | 59 | <h2> |
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> |
||
7029 | bpr | 64 | Voici quelques exemples : |
6183 | bpr | 65 | <ul> |
66 | <li> |
||
67 | Greek letters: |
||
68 | <pre> |
||
69 | !insmath alpha != pi |
||
70 | </pre> |
||
71 | </li> |
||
72 | <li> |
||
7029 | bpr | 73 | Mathematical expression |
6183 | bpr | 74 | !let ins_align=middle |
75 | !! we need to force dynamic insertion |
||
76 | !set pw=2 |
||
77 | <pre> |
||
6194 | reyssat | 78 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4a c}}{2a} |
6183 | bpr | 79 | </pre> |
80 | </li> |
||
81 | <li> |
||
7029 | bpr | 82 | A mixed inequality: |
6183 | bpr | 83 | <pre> |
84 | !insmath | a + b | <= epsilon + 123.45 |
||
85 | </pre> |
||
86 | </li> |
||
87 | </ul> |
||
5524 | bpr | 88 | |
89 | !if $texalign=2 |
||
6183 | bpr | 90 | <p> |
7029 | bpr | 91 | The server is currently set to MathML if you have a suitable browser. |
5524 | bpr | 92 | If the formula is not correctly displayed, you can use another |
6183 | bpr | 93 | <a onmouseover="return Tip($tip)" class="wims_emph" style="cursor:help;"> |
94 | browser |
||
7029 | bpr | 95 | </a> |
5524 | bpr | 96 | or use the serveur with "math with images". |
6183 | bpr | 97 | </p> |
98 | <ul> |
||
99 | <li> |
||
7029 | bpr | 100 | Modifier le mode d'affichage : |
6183 | bpr | 101 | !set wims_ref_class=wims_button |
102 | !href cmd=resume&useropts=$(arg)0$font Math with images |
||
7029 | bpr | 103 | |
6183 | bpr | 104 | !set arg=!nospace $texsize 2 |
105 | !set wims_ref_class=wims_button |
||
106 | !href cmd=resume&useropts=$(arg)0$font MathML |
||
107 | |||
108 | </li> |
||
109 | <li> |
||
110 | !let ts1=!eval $texsize-1 |
||
111 | !let ts2=!eval $texsize+1 |
||
112 | !if $ts1<1 |
||
113 | !let ts1=1 |
||
114 | !endif |
||
115 | !if $ts2>9 |
||
116 | !let ts2=9 |
||
117 | !endif |
||
118 | Set the size of mathematical formulas. |
||
119 | !set wims_ref_class=wims_button |
||
6235 | bpr | 120 | !href cmd=resume&useropts=$ts1$texalign$zoom$font <img src="gifs/doc/dgauche.gif" alt="gauche" style="width:1em" /> |
6183 | bpr | 121 | !set wims_ref_class=wims_button |
122 | !href cmd=resume&useropts=$default Default |
||
123 | !set wims_ref_class=wims_button |
||
6235 | bpr | 124 | !href cmd=resume&useropts=$ts2$texalign$zoom$font <img src="gifs/doc/ddroite.gif" alt="droite" style="width:1em" /> |
6183 | bpr | 125 | </li><li> |
126 | Use zoom on formulas by mouse click. |
||
127 | !set wims_ref_class=wims_button |
||
128 | !href cmd=resume&useropts=$texsize$(texalign)1$font $wims_name_yes |
||
129 | |
||
130 | !set wims_ref_class=wims_button |
||
131 | !href cmd=resume&useropts=$texsize$(texalign)0$font $wims_name_no |
||
5524 | bpr | 132 | !else |
6183 | bpr | 133 | <p> |
7029 | bpr | 134 | Currently, you use the server with "Math with images". If you have a suitable |
6183 | bpr | 135 | <a onmouseover="return Tip($tip)" class="wims_emph" style="cursor:help;"> |
136 | browser |
||
7029 | bpr | 137 | </a>, |
6183 | bpr | 138 | you may also use MathML. |
139 | </p> |
||
5524 | bpr | 140 | |
6183 | bpr | 141 | <ul> |
7029 | bpr | 142 | <li>Modifier le mode d'affichage : |
6183 | bpr | 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 | |||
151 | <li> |
||
152 | Size of mathematical symbols and formulas. |
||
153 | !let ts1=!eval $texsize-1 |
||
154 | !let ts2=!eval $texsize+1 |
||
155 | !if $ts1<1 |
||
5524 | bpr | 156 | !let ts1=1 |
6183 | bpr | 157 | !endif |
158 | !if $ts2>9 |
||
5524 | bpr | 159 | !let ts2=9 |
6183 | bpr | 160 | !endif |
161 | !set wims_ref_class=wims_button |
||
6235 | bpr | 162 | !href cmd=resume&useropts=$ts1$texalign$zoom$font <img src="gifs/doc/dgauche.gif" style="width:1em" /> |
6183 | bpr | 163 | !set wims_ref_class=wims_button |
7029 | bpr | 164 | !href cmd=resume&useropts=$[$wims_texbasesize-1]$texalign$zoom$font Normal |
165 | !set wims_ref_class=wims_button |
||
6235 | bpr | 166 | !href cmd=resume&useropts=$ts2$texalign$zoom$font <img src="gifs/doc/ddroite.gif" style="width:1em" /> |
5524 | bpr | 167 | </li><li> |
168 | Position of the formulas. If the expression |
||
169 | !insmath (x+y)/(x^$pw + y^2) |
||
23 | reyssat | 170 | is |
171 | !if $texalign=1 |
||
172 | too high with respect to the text line, |
||
6183 | bpr | 173 | !set wims_ref_class=wims_button |
174 | !href cmd=resume&useropts=$(texsize)0$zoom$font click here |
||
23 | reyssat | 175 | to lower it. |
176 | !else |
||
177 | too low with respect to the text line, |
||
6183 | bpr | 178 | !set wims_ref_class=wims_button |
179 | !href cmd=resume&useropts=$(texsize)1$zoom$font click here |
||
23 | reyssat | 180 | to raise it. |
181 | !endif |
||
5524 | bpr | 182 | !endif |
183 | </li> |
||
184 | </ul> |
||
23 | reyssat | 185 | |
6183 | bpr | 186 | <h2>Accessibilité</h2> |
187 | |||
7029 | bpr | 188 | <p>Vous pouvez régler l'espacement des lettres et des mots |
6183 | bpr | 189 | !set wims_ref_class=wims_button |
190 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)0 Normal |
||
7029 | bpr | 191 | |
6183 | bpr | 192 | !set wims_ref_class=wims_button |
193 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)1 Espacé |
||
194 | </p><p> |
||
195 | Le mode espacé est particulierement adapté dans le cas d'un lecteur dyslexique.</p> |
||
196 | |||
6235 | bpr | 197 | <br class="spacer" /> |
6183 | bpr | 198 | <p> |
23 | reyssat | 199 | !if $wims_user=$empty |
200 | When everything corresponds exactly to what you want, put |
||
6183 | bpr | 201 | !set wims_ref_class=wims_button |
202 | <a href="$wims_ref_name?lang=$lang&+useropts=$texsize$texalign$zoom$font" title="WIMS"> |
||
203 | this link |
||
204 | </a> |
||
23 | reyssat | 205 | into your bookmark, to keep these preferences for your future connections. |
206 | !else |
||
207 | Your preferences will be preserved in your future logins in this class. |
||
208 | !endif |
||
6183 | bpr | 209 | </p> |
23 | reyssat | 210 | |
211 | :end |
||
212 | !tail |
||
213 |