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