Rev 10686 | Rev 14603 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !!INDEX |
10585 | obado | 2 | !let module_translator= |
3 | !let module_translator_address= |
||
5524 | bpr | 4 | !let module_title=Setup your preferences for WIMS |
5 | !let module_description=define preferences for wims |
||
6 | !let module_language=en |
||
23 | reyssat | 7 | !!INDEXEND |
8 | |||
7336 | schaersvoo | 9 | !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 | 10 | |
10585 | obado | 11 | !read proc/useropts.proc |
5524 | bpr | 12 | |
23 | reyssat | 13 | !header |
13306 | obado | 14 | <script src="scripts/js/wz_tooltip.js"></script> |
6183 | bpr | 15 | |
10585 | obado | 16 | <div id="widget_useropts"> |
17 | <ul> |
||
18 | <li><a href="#formula">Mathematical formulas</a></li> |
||
19 | !if $wims_user=$empty |
||
20 | <li><a href="#language_selector">Default language</a></li> |
||
21 | !endif |
||
22 | <li><a href="#accessibility">Accessibility</a></li> |
||
23 | </ul> |
||
6183 | bpr | 24 | |
10686 | czzmrn | 25 | !if $wims_user=$empty |
10585 | obado | 26 | <div id="language_selector"> |
27 | <h2> |
||
28 | Default language |
||
29 | </h2> |
||
30 | <p> |
||
31 | Choose site language : |
||
32 | !read themes/_widgets/language_selector.phtml |
||
33 | </p> |
||
34 | </div> |
||
10686 | czzmrn | 35 | !endif |
5524 | bpr | 36 | |
10585 | obado | 37 | <div id="formula"> |
38 | <h2> |
||
39 | Mathematical formulas |
||
40 | </h2> |
||
41 | <p>You can choose beetween 2 display modes:</p> |
||
6183 | bpr | 42 | <ul> |
10585 | obado | 43 | <li> image mode</li> |
44 | <li> or MathML</li> |
||
45 | </ul> |
||
46 | Some display test : |
||
47 | <ul> |
||
6183 | bpr | 48 | <li> |
10585 | obado | 49 | Greek letters: |
50 | <pre> |
||
51 | !insmath alpha != pi |
||
52 | </pre> |
||
6183 | bpr | 53 | </li> |
54 | <li> |
||
10585 | obado | 55 | Mathematical expression |
56 | !let ins_align=middle |
||
57 | !! we need to force dynamic insertion |
||
58 | !set pw=2 |
||
59 | <pre> |
||
60 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4a c}}{2a} |
||
61 | </pre> |
||
6183 | bpr | 62 | </li> |
63 | <li> |
||
10585 | obado | 64 | A mixed inequality: |
6183 | bpr | 65 | <pre> |
10585 | obado | 66 | !insmath | a + b | <= epsilon + 123.45 |
6183 | bpr | 67 | </pre> |
68 | </li> |
||
69 | </ul> |
||
5524 | bpr | 70 | |
10585 | obado | 71 | !if $texalign=2 |
72 | <p> |
||
73 | The server is currently set to MathML if you have a suitable browser. |
||
74 | If the formula is not correctly displayed, you can use another |
||
75 | <a onmouseover="return Tip($tip)" class="wims_emph" style="cursor:help;"> |
||
76 | browser |
||
77 | </a> |
||
78 | or use the serveur with "math with images". |
||
79 | </p><p> |
||
80 | Choose your display mode : |
||
81 | !set wims_ref_class=wims_button |
||
82 | !href cmd=resume&useropts=$(arg)0$font Math with images |
||
7029 | bpr | 83 | |
10585 | obado | 84 | !set arg=!nospace $texsize 2 |
85 | !set wims_ref_class=wims_button $ wims_secondary_button |
||
86 | !href cmd=resume&useropts=$(arg)0$font MathML |
||
87 | </p> |
||
88 | <p> |
||
89 | Use zoom on formulas by mouse click. |
||
90 | !reset secondary |
||
91 | !if $useropts=$texsize$(texalign)0$font |
||
92 | !set secondary1=wims_button wims_secondary_button |
||
93 | !set secondary2=wims_button |
||
94 | !else |
||
95 | !set secondary2=wims_button wims_secondary_button |
||
96 | !set secondary1=wims_button |
||
97 | !endif |
||
98 | !set wims_ref_class=$secondary2 |
||
99 | !href cmd=resume&useropts=$texsize$(texalign)1$font activated |
||
100 | |
||
101 | !set wims_ref_class=$secondary1 |
||
102 | !href cmd=resume&useropts=$texsize$(texalign)0$font desactivated |
||
103 | </p> |
||
104 | !else |
||
105 | <p> |
||
106 | Currently, you use the server with "Math with images". If you have a suitable |
||
107 | <a onmouseover="return Tip($tip)" class="wims_emph" style="cursor:help;"> |
||
108 | browser |
||
109 | </a>, |
||
110 | you may also use MathML. |
||
111 | </p><p> |
||
112 | Choose your display mode : |
||
9680 | bpr | 113 | !reset secondary |
10585 | obado | 114 | !if $useropts=$(arg)0$font |
115 | !set secondary=$ wims_secondary_button |
||
6183 | bpr | 116 | !endif |
10585 | obado | 117 | !set wims_ref_class=wims_button$secondary |
118 | !href cmd=resume&useropts=$(arg)0$font Mode image |
||
119 | !set arg=!nospace $texsize 2 |
||
120 | !reset secondary |
||
121 | !if $useropts=$(arg)0$font |
||
122 | !set secondary=$ wims_secondary_button |
||
123 | !endif |
||
124 | !set wims_ref_class=wims_button$secondary |
||
125 | !href cmd=resume&useropts=$(arg)0$font MathML |
||
126 | </p> |
||
127 | <ul><li> |
||
128 | Size of mathematical symbols and formulas. |
||
129 | !let ts1=!eval $texsize-1 |
||
130 | !let ts2=!eval $texsize+1 |
||
131 | !if $ts1<1 |
||
132 | !let ts1=1 |
||
133 | !endif |
||
134 | !if $ts2>9 |
||
135 | !let ts2=9 |
||
136 | !endif |
||
137 | !set wims_ref_class=wims_button |
||
138 | !href cmd=resume&useropts=$ts1$texalign$zoom$font <img src="gifs/doc/dgauche.gif" style="width:1em" /> |
||
139 | !set wims_ref_class=wims_button |
||
140 | !href cmd=resume&useropts=$[$wims_texbasesize-1]$texalign$zoom$font Normal |
||
141 | !set wims_ref_class=wims_button |
||
142 | !href cmd=resume&useropts=$ts2$texalign$zoom$font <img src="gifs/doc/ddroite.gif" style="width:1em" /> |
||
143 | </li><li> |
||
144 | Position of the formulas. If the expression |
||
145 | !insmath (x+y)/(x^$pw + y^2) |
||
146 | is |
||
147 | !if $texalign=1 |
||
148 | too high with respect to the text line, |
||
149 | !set wims_ref_class=wims_button |
||
150 | !href cmd=resume&useropts=$(texsize)0$zoom$font click here to lower it. |
||
151 | !else |
||
152 | too low with respect to the text line, |
||
153 | !set wims_ref_class=wims_button |
||
154 | !href cmd=resume&useropts=$(texsize)1$zoom$font click here to raise it. |
||
155 | !endif |
||
156 | </li> |
||
157 | </ul> |
||
158 | !endif |
||
159 | </div> |
||
6183 | bpr | 160 | |
10585 | obado | 161 | <div id="accessibility"> |
162 | <h2>Accessibility</h2> |
||
7029 | bpr | 163 | |
10585 | obado | 164 | <p>You can modify space width beetween characters. |
165 | !if $useropts=$(texsize)$texalign$(zoom)1 |
||
166 | !set secondary1=wims_button wims_secondary_button |
||
167 | !set secondary2=wims_button |
||
168 | !else |
||
169 | !set secondary2=wims_button wims_secondary_button |
||
170 | !set secondary1=wims_button |
||
171 | !endif |
||
172 | !set wims_ref_class=$secondary2 |
||
173 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)0 Normal |
||
6183 | bpr | 174 | |
10585 | obado | 175 | !set wims_ref_class=$secondary1 |
176 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)1 Spaced |
||
177 | </p> |
||
178 | <p>The spaced mode may be better if you have some reading difficulties.</p> |
||
179 | </div> |
||
180 | |||
181 | </div> |
||
182 | !if $jquery_defined=yes |
||
183 | !read adm/tabscript useropts |
||
184 | !endif |
||
185 | |||
6235 | bpr | 186 | <br class="spacer" /> |
6183 | bpr | 187 | <p> |
10585 | obado | 188 | !if $wims_user=$empty |
189 | When everything corresponds exactly to what you want, put |
||
190 | !set wims_ref_class=wims_button |
||
191 | <a href="$wims_ref_name?lang=$lang&+useropts=$texsize$texalign$zoom$font" title="WIMS"> |
||
192 | this link |
||
193 | </a> |
||
194 | into your bookmark, to keep these preferences for your future connections. |
||
195 | !else |
||
196 | Your preferences will be preserved in your future logins in this class. |
||
197 | !endif |
||
6183 | bpr | 198 | </p> |
23 | reyssat | 199 | |
200 | !tail |
||
201 |