Rev 11375 | Rev 13476 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11375 | Rev 12171 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | textarea="data" |
2 | textarea="data" |
3 | 3 | ||
4 | : |
4 | :Escriure el nom que correspongui a la imatge (o text presentat) |
5 |
|
5 | Tingueu present que aquest model només funcionarà bé si carregueu les imatges a wims. |
6 | <p> |
6 | <p> |
7 |
|
7 | Per construir un exercici amb aquest model, simplement escriu la llista d'imatges i |
8 |
|
8 | etiquetes corresponents |
9 | </p> |
9 | </p> |
10 | $image_help |
10 | $image_help |
11 | <p> |
11 | <p> |
12 |
|
12 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
13 | </p> |
13 | </p> |
14 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
14 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
15 | 15 | ||
16 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
16 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
17 | (Ce sont les lignes qui commencent par un ':'.) |
17 | (Ce sont les lignes qui commencent par un ':'.) |
18 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
18 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
19 | 19 | ||
20 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
20 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
21 | 21 | ||
22 | 22 | ||
23 | :\title{ |
23 | :\title{Reconèixer una imatge} |
24 | :\author{Bernadette, Perrin-Riou} |
24 | :\author{Bernadette, Perrin-Riou} |
25 | :\email{bpr@math.u-psud.fr} |
25 | :\email{bpr@math.u-psud.fr} |
- | 26 | :\credits{} |
|
26 | : |
27 | :Enunciat |
27 | \text{ |
28 | \text{instruction=Escriviu la paraula corresponent a la imatge (l'exercici només funcionarà quan es carreguin les imatges |
28 |
|
29 | a l'exercici)} |
29 | 30 | ||
30 | : |
31 | :Dades |
31 | \text{data=amphitheatre.png,l'amphithéâtre |
32 | \text{data=amphitheatre.png,l'amphithéâtre |
32 | aqueduc.png, l'aqueduc |
33 | aqueduc.png, l'aqueduc |
33 | arcdetriomphe.png,l'arc de triomphe |
34 | arcdetriomphe.png,l'arc de triomphe |
34 | cirque.png, le cirque |
35 | cirque.png, le cirque |
35 | domus.png, la domus |
36 | domus.png, la domus |
36 | temple.png, le temple |
37 | temple.png, le temple |
37 | theatre.png, le théâtre |
38 | theatre.png, le théâtre |
38 | thermes.png, les termes |
39 | thermes.png, les termes |
39 | } |
40 | } |
40 | 41 | ||
41 | :La |
42 | :La mida de les caixes en píxels |
42 | \text{sizeh=40} |
43 | \text{sizeh=40} |
43 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
44 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
44 | 45 | ||
45 | \text{mot = randrow(\data)} |
46 | \text{mot = randrow(\data)} |
- | 47 | \text{mot=wims(embraced randitem \mot)} |
|
46 | \text{image=\mot[1]} |
48 | \text{image=\mot[1]} |
47 | \text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))} |
49 | \text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))} |
48 | \text{mot =\mot[2]} |
50 | \text{mot =\mot[2]} |
49 | 51 | ||
50 | \statement{ |
52 | \statement{ |
51 | \instruction |
53 | \instruction |
52 | <p |
54 | <p class="wimscenter"> |
53 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
55 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
54 | \img{\imagedir/\image} |
56 | \img{\imagedir/\image} |
55 | } |
57 | } |
56 | {\image}</p> |
58 | {\image}</p> |
57 | 59 | ||
58 | < |
60 | <div class="wimscenter"> |
59 | \embed{r1,\sizeh |
61 | \embed{r1,\sizeh |
60 | default |
62 | default |
61 | autocomplete="off"} |
63 | autocomplete="off"} |
62 | </ |
64 | </div> |
63 | } |
65 | } |
64 | \answer{}{\mot}{type=case} |
66 | \answer{}{\mot}{type=case} |