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