Subversion Repositories wimsdev

Rev

Rev 6838 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6838 Rev 13705
Line 1... Line 1...
1
 
1
 
2
!set embraced_randitem=<p> \
2
!set embraced_randitem=<p>\
3
This field accepts the randomization by nestable curly embraces:\
3
This field accepts the randomization by nestable curly embraces:\
4
if you put several words (or groups of words), separated by commas,\
4
if you put several words (or groups of words), separated by commas,\
5
within a pair of embraces, one of the words will be randomly drawn\
5
within a pair of embraces, one of the words will be randomly drawn\
6
at the time when the text is presented to students. This will add\
6
at the time when the text is presented to students. This will add\
7
randomness to your text. <p>\
7
randomness to your text.</p><p>\
8
For example, if you enter the text </p><p>\
8
For example, if you enter the text</p><p>\
9
<span class="tt">I will go to {Paris, New York, London} \
9
<span class="tt">I will go to {Paris, New York, London}\
10
{tomorrow, the next week}</span>,\
10
{tomorrow, the next week}</span>,\
11
</p><p>the result will be one of the following sentences, at random:</p>\
11
the result will be one of the following sentences, at random:</p>\
12
<pre>\
12
<pre>\
13
I will go to Paris tomorrow\
13
I will go to Paris tomorrow\
14
I will go to New York tomorrow\
14
I will go to New York tomorrow\
15
I will go to London tomorrow\
15
I will go to London tomorrow\
16
I will go to Paris the next week\
16
I will go to Paris the next week\
17
I will go to New York the next week\
17
I will go to New York the next week\
18
I will go to London the next week\
18
I will go to London the next week\
19
</pre><br />
19
</pre><p>\
20
Si vous désirez entrer des formules mathématiques, il est conseillé de\
20
If you wish to enter mathematical formulas, it is advisable to\
21
désactiver cette possibilité en mettant le bouton <span class="wims_code_words">\
21
 disable this possibility by putting the switch\
22
Mise en aléatoire par des accolades emboitables</span> \
22
 <span class="wims_code_words">Embraced random items</span>\
23
sur <span class="tt">$wims_name_no</span>.
23
 on <span class="tt">$wims_name_no</span>.</p>
24
 
24
 
25
!set name_random=Some examples of random generation of parameter: <ul>\
25
!set name_random=Some examples of random generation of parameter:<ul>\
26
 <li>For an integer between 10 and 100 (inclusive):\
26
 <li>For an integer between 10 and 100 (inclusive):\
27
         <span class="tt wims_code_words">randint(10..100)</span>\
27
         <span class="tt wims_code_words">randint(10..100)</span>\
28
 <li>For an integer multiple of 10 between 10 and 1000 (inclusive):\
28
 <li>For an integer multiple of 10 between 10 and 1000 (inclusive):\
29
        <span class="tt wims_code_words">randint(1..100)*10</span>\
29
        <span class="tt wims_code_words">randint(1..100)*10</span>\
30
 <li>For a decimal number between 0 and 2:\
30
 <li>For a decimal number between 0 and 2:\
Line 33... Line 33...
33
        <span class="tt wims_code_words">randitem(a,b,c,10,100,word,a phrase)</span>\
33
        <span class="tt wims_code_words">randitem(a,b,c,10,100,word,a phrase)</span>\
34
 </ul>
34
 </ul>
35
 
35
 
36
!set name_detail_parm=More details on the computation of parameters.
36
!set name_detail_parm=More details on the computation of parameters.
37
 
37
 
38
!set image_help=<div class="wims_smallremark"><b>Insertion d'images</b>:\
38
!set image_help=<div class="wims_smallremark"><h3>Inserting images</h3>\
39
Pour insérer des images dans votre exercice, il faut d'une part charger les images\
39
To insert images in your exercise, you must first load the images\
40
dans le module d'exercices de votre classe et d'autre part mettre le code html qui \
40
 in the exercise module of your class and secondly put the html code that displays the image.\
41
permet d'afficher l'image. Le code d'insertion est\
41
The insertion code is\
42
<pre>&lt;img src="\imagedir/nom_image"/></pre> et\
42
<pre>&lt;img src="\imagedir/nom_image"/></pre>,\
43
où <span class="tt">nom_image</span> est le nom de l'image (y compris l'extension <span class="tt">.jpg</span>, <span class="tt">.png</span>,\
43
where <span class="tt">nom_image</span> is the name of the image (including the <span class="tt">.jpg</span>, <span class="tt">.png</span>,\
44
...) et <span class="tt wims_code_variable">\imagedir</span> représente le nom de code du répertoire où se trouve l'image.\
44
... extension) and <span class="tt wims_code_variable">\imagedir</span> represents the directory where the image is located.\
45
Vous pouvez le mettre dans la plupart des textes des modèles préparés (y compris dans la consigne).\
45
You can put it in most of the texts of the prepared models (including in the instructions).\
46
Vous pouvez commencer votre exercice même si les images ne sont pas encore chargées.\
46
You can start your exercise even if the images are not uploaded yet.\
47
Une fois l'exercice mis dans la classe, suivez le lien \
47
Once the exercise is in the classroom, follow the link\
48
<span class="tt">Déposer un fichier</span> dans l'exercice</tt> ou <span class="tt">$wims_name_downloadbinary</span>\
48
<span class="tt">Upload a file</span> in the exercise</tt> or <span class="tt">$wims_name_downloadbinary</span>\
49
et chargez toutes les images dont vous avez besoin. Testez. Ajustez les tailles des images.\
49
and upload all the images you need. Test, then adjust the image sizes.\
50
Il est recommandé de ne pas prendre des images trop grandes car plus longues à charger\
50
It is recommended that you do not take images that are too large,\
-
 
51
 because they take longer to load while performing the exercise\
51
lors de l'exécution de l'exercice et de les réduire avant de les mettre dans le module de la classe.\
52
 and reduce them before putting them in the classroom module.\
52
</div>
53
</div>
53
 
54
 
54
!set math_help= <div class="wims_smallremark"><b>Insertion de formules mathématiques</b>:\
55
!set math_help= <div class="wims_smallremark"><h3>Inserting mathematical formulas</h3>\
55
Pour entrer des formules de mathématiques dans le texte, encadrez le code tex par \
56
To enter mathematical formulas, enclose the tex code by \
56
<span class="tt wims_code_variable">\(</span>\
57
<span class="tt wims_code_variable">\(</span>\
57
et\
58
and\
58
<span class="tt wims_code_variable">\)</span>.\
59
<span class="tt wims_code_variable">\)</span>.\
59
Par exemple,\
60
For example,\
60
<pre>\( x^2+\frac{3}{2} \)</pre>
61
<pre>\( x^2+\frac{3}{2} \)</pre>
61
 
62
 
62
!set oef_help= <div class="wims_small_remark"><b>Pour les plus avancés</b> :\
63
!set oef_help= <div class="wims_smallremark"><h3>For the most advanced</h3>\
63
il est possible dans la définition des paramètres d'utiliser \
64
it is possible in the definition of the parameters\
64
la plupart des fonctions des exercices OEF.\
65
 to use most of the functions of the OEF exercises.\
65
</div>
66
</div>
66
 
67
 
67
!set credits_help=You may use the field <span class="tt wims_code_words">$wims_name_credits</span> to give\
68
!set credits_help=You may use the field <span class="tt wims_code_words">$wims_name_credits</span> to give\
68
short references, for example for the images inserted in the exercise.
69
short references, for example for the images inserted in the exercise.