Rev 13306 | Rev 14606 | 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 | |||
14603 | bpr | 9 | !let tip=<ul><li><strong>FireFox</strong> gère nativement MathML sans extension</li><li><strong>Safari</strong> gère nativement MathML sans extension</li><li><strong>Google Chrome</strong> nécessite <a target="new" href="https://chrome.google.com/webstore/detail/mathjax-for-chrome/elbbpgnifnallkilnkofjcgjeallfcfa">MathJax Extension </a></li><li><strong>Internet Explorer</strong> nécessite <a target="new" href="http://www.dessci.com/en/products/mathplayer/">DESSCI MathPlayer plugin</a></li><li><strong>Opera</strong> nécessite <a target="new" href="http://xml-maiden.com/userjs/mathml/">UserJS MathML plugin</a></li></ul> |
5524 | bpr | 10 | |
10585 | obado | 11 | !read proc/useropts.proc |
5524 | bpr | 12 | |
23 | reyssat | 13 | !header |
6183 | bpr | 14 | |
14603 | bpr | 15 | <p>This page lets you configure some preferences on WIMS |
16 | |||
10585 | obado | 17 | <div id="widget_useropts"> |
18 | <ul> |
||
19 | <li><a href="#formula">Mathematical formulas</a></li> |
||
20 | !if $wims_user=$empty |
||
21 | <li><a href="#language_selector">Default language</a></li> |
||
22 | !endif |
||
23 | <li><a href="#accessibility">Accessibility</a></li> |
||
24 | </ul> |
||
6183 | bpr | 25 | |
10686 | czzmrn | 26 | !if $wims_user=$empty |
14603 | bpr | 27 | <div id="language_selector"> |
28 | <h2>Default language</h2> |
||
29 | <p> |
||
30 | Choose site language : |
||
31 | !read themes/_widgets/language_selector.phtml |
||
32 | </p> |
||
33 | </div> |
||
10686 | czzmrn | 34 | !endif |
5524 | bpr | 35 | |
10585 | obado | 36 | <div id="formula"> |
14603 | bpr | 37 | <h2>Mathematical formulas</h2> |
38 | <p> |
||
39 | You can choose beetween 2 display modes: image mode or MathML. |
||
40 | </p> |
||
41 | !if $texalign=2 |
||
42 | <p>The server is currently set to MathML if you have a suitable browser.</p> |
||
43 | !endif |
||
44 | Some display test: |
||
6183 | bpr | 45 | <ul> |
46 | <li> |
||
10585 | obado | 47 | Greek letters: |
48 | <pre> |
||
14603 | bpr | 49 | !insmath alpha != pi |
10585 | obado | 50 | </pre> |
6183 | bpr | 51 | </li> |
52 | <li> |
||
10585 | obado | 53 | Mathematical expression |
54 | !let ins_align=middle |
||
55 | !! we need to force dynamic insertion |
||
56 | !set pw=2 |
||
57 | <pre> |
||
58 | !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4a c}}{2a} |
||
59 | </pre> |
||
6183 | bpr | 60 | </li> |
61 | <li> |
||
10585 | obado | 62 | A mixed inequality: |
6183 | bpr | 63 | <pre> |
10585 | obado | 64 | !insmath | a + b | <= epsilon + 123.45 |
6183 | bpr | 65 | </pre> |
66 | </li> |
||
67 | </ul> |
||
5524 | bpr | 68 | |
10585 | obado | 69 | !if $texalign=2 |
70 | <p> |
||
71 | If the formula is not correctly displayed, you can use another |
||
14603 | bpr | 72 | browser or use the serveur with "math with images". |
73 | </p> |
||
7029 | bpr | 74 | |
14603 | bpr | 75 | <h3>Mode d'affichage</h3> |
10585 | obado | 76 | <p> |
14603 | bpr | 77 | You currently use MathML |
78 | !set wims_ref_class=wims_button |
||
79 | !href cmd=resume&useropts=$(arg)0$font Passer au mode image |
||
10585 | obado | 80 | </p> |
14603 | bpr | 81 | |
82 | <h3 id="formula_options">Option du mode MathML :</h3> |
||
83 | <p>Le mode MathML permet un zoom sur les formules par un click de souris.</p> |
||
84 | !set wims_ref_class=wims_button |
||
85 | !if $useropts=$texsize$(texalign)0$font |
||
86 | Le zoom est <span class="disabled">désactivé</span>. |
||
87 | !href cmd=resume&useropts=$texsize$(texalign)1$font#formula_options activer |
||
88 | <span class="wims_button disabled">désactiver</span> |
||
89 | !else |
||
90 | Le zoom est <span class="oef_indgood success">activé</span>. |
||
91 | <span class="wims_button disabled">activer</span> |
||
92 | !href cmd=resume&useropts=$texsize$(texalign)0$font#formula_options désactiver |
||
93 | !endif |
||
94 | |||
95 | <h3>Navigateurs compatibles MathML</h3> |
||
96 | $tip |
||
10585 | obado | 97 | !else |
14603 | bpr | 98 | <p> |
99 | Actuellement, vous utilisez le serveur en <strong>mode image</strong>.<br/> |
||
100 | Avec un navigateur compatible, vous pouvez utiliser le mode MathML. |
||
10585 | obado | 101 | </p> |
14603 | bpr | 102 | |
103 | <h3>Mode d'affichage</h3> |
||
104 | <p> |
||
105 | Vous êtes en mode Image |
||
106 | !set arg=!nospace $texsize 2 |
||
107 | !set wims_ref_class=wims_button |
||
108 | !href cmd=resume&useropts=$(arg)0$font Passer au mode MathML |
||
109 | </p> |
||
110 | |||
111 | <h3>Options du mode image</h3> |
||
10585 | obado | 112 | <ul><li> |
14603 | bpr | 113 | Size of mathematical symbols and formulas. |
114 | !let ts1=!eval $texsize-1 |
||
115 | !let ts2=!eval $texsize+1 |
||
116 | !if $ts1<1 |
||
117 | !let ts1=1 |
||
118 | !endif |
||
119 | !if $ts2>9 |
||
120 | !let ts2=9 |
||
121 | !endif |
||
122 | !set wims_ref_class=wims_button |
||
123 | !href cmd=resume&useropts=$ts1$texalign$zoom$font#formula <img src="gifs/doc/dgauche.gif" style="width:1em" /> |
||
124 | !set wims_ref_class=wims_button |
||
125 | !href cmd=resume&useropts=$[$wims_texbasesize-1]$texalign$zoom$font#formula Normal |
||
126 | !set wims_ref_class=wims_button |
||
127 | !href cmd=resume&useropts=$ts2$texalign$zoom$font#formula <img src="gifs/doc/ddroite.gif" style="width:1em" /> |
||
10585 | obado | 128 | </li><li> |
129 | Position of the formulas. If the expression |
||
130 | !insmath (x+y)/(x^$pw + y^2) |
||
131 | is |
||
132 | !if $texalign=1 |
||
14603 | bpr | 133 | too high with respect to the text line, |
134 | !set wims_ref_class=wims_button |
||
135 | !href cmd=resume&useropts=$(texsize)0$zoom$font click here to lower it. |
||
10585 | obado | 136 | !else |
14603 | bpr | 137 | too low with respect to the text line, |
138 | !set wims_ref_class=wims_button |
||
139 | !href cmd=resume&useropts=$(texsize)1$zoom$font click here to raise it. |
||
10585 | obado | 140 | !endif |
14603 | bpr | 141 | </li></ul> |
10585 | obado | 142 | !endif |
143 | </div> |
||
6183 | bpr | 144 | |
10585 | obado | 145 | <div id="accessibility"> |
146 | <h2>Accessibility</h2> |
||
7029 | bpr | 147 | |
10585 | obado | 148 | <p>You can modify space width beetween characters. |
14603 | bpr | 149 | !if $useropts=$(texsize)$texalign$(zoom)1 |
150 | !set secondary1=wims_button disabled |
||
151 | !set secondary2=wims_button |
||
152 | !else |
||
153 | !set secondary2=wims_button disabled |
||
154 | !set secondary1=wims_button |
||
155 | !endif |
||
156 | !set wims_ref_class=$secondary2 |
||
157 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)0 Normal |
||
6183 | bpr | 158 | |
14603 | bpr | 159 | !set wims_ref_class=$secondary1 |
160 | !href cmd=resume&useropts=$(texsize)$texalign$(zoom)1 Mode espacé |
||
10585 | obado | 161 | </p> |
162 | <p>The spaced mode may be better if you have some reading difficulties.</p> |
||
163 | </div> |
||
164 | </div> |
||
165 | !if $jquery_defined=yes |
||
166 | !read adm/tabscript useropts |
||
167 | !endif |
||
168 | |||
14603 | bpr | 169 | <p class="spacer"> |
10585 | obado | 170 | !if $wims_user=$empty |
171 | When everything corresponds exactly to what you want, put |
||
172 | !set wims_ref_class=wims_button |
||
173 | <a href="$wims_ref_name?lang=$lang&+useropts=$texsize$texalign$zoom$font" title="WIMS"> |
||
14603 | bpr | 174 | this link</a> |
10585 | obado | 175 | into your bookmark, to keep these preferences for your future connections. |
176 | !else |
||
177 | Your preferences will be preserved in your future logins in this class. |
||
178 | !endif |
||
6183 | bpr | 179 | </p> |
23 | reyssat | 180 | |
181 | !tail |