Subversion Repositories wimsdev

Rev

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

Rev 13716 Rev 15026
Line 30... Line 30...
30
 
30
 
31
:Format 1
31
:Format 1
32
\text{format1=item(1, radio (una opció de la següent llista),
32
\text{format1=item(1, radio (una opció de la següent llista),
33
    numeric (pregunta numèrica),
33
    numeric (pregunta numèrica),
34
    case (sense tolerància d'error),
34
    case (sense tolerància d'error),
35
	nocase (tolera majúscules/minúscules),
35
	  nocase (tolera majúscules/minúscules),
36
	atext (ignora plural/singular i articles)
36
	  atext (ignora plural/singular i articles)
37
	)}
37
	)}
38
:Llista d'opcions per a la pregunta 1 (si radio)
38
:Llista d'opcions per a la pregunta 1 (si radio)
39
Doneu la llista d'opcions si seleccioneu el tipus radio.
39
Doneu la llista d'opcions si seleccioneu el tipus radio.
40
\text{choix1=premier groupe, deuxième groupe, troisième groupe}
40
\text{choix1=premier groupe, deuxième groupe, troisième groupe}
41
 
41
 
42
:Format 2
42
:Format 2
43
\text{format2=item(3,radio (una opció de la següent llista),
43
\text{format2=item(3,radio (una opció de la següent llista),
44
    numeric (pregunta numèrica),
44
    numeric (pregunta numèrica),
45
    case (sense tolerància d'error),
45
    case (sense tolerància d'error),
46
	nocase (tolera majúscules/minúscules),
46
	  nocase (tolera majúscules/minúscules),
47
	atext (ignora plural/singular i articles)
47
	  atext (ignora plural/singular i articles)
48
	)}
48
	)}
49
:Llista d'opcions per a la pregunta 2 (si radio)
49
:Llista d'opcions per a la pregunta 2 (si radio)
50
Doneu la llista d'opcions si seleccioneu el tipus radio.
50
Doneu la llista d'opcions si seleccioneu el tipus radio.
51
\text{choix2=}
51
\text{choix2=}
52
:Format 3
52
:Format 3
53
\text{format3=item(4,0 (cap pregunta),
53
\text{format3=item(4,0 (cap pregunta),
54
    radio (una opció de la següent llista),
54
    radio (una opció de la següent llista),
55
    numeric (pregunta numèrica),
55
    numeric (pregunta numèrica),
56
    case (sense tolerància d'error),
56
    case (sense tolerància d'error),
57
	nocase (tolera majúscules/minúscules),
57
	  nocase (tolera majúscules/minúscules),
58
	atext (ignora plural/singular i articles)
58
	  atext (ignora plural/singular i articles)
59
	)}
59
	)}
60
:Llista d'opcions per a la pregunta 3 (si radio)
60
:Llista d'opcions per a la pregunta 3 (si radio)
61
Doneu la llista d'opcions si seleccioneu el tipus radio.
61
Doneu la llista d'opcions si seleccioneu el tipus radio.
62
\text{choix3=}
62
\text{choix3=}
63
:Text d'aprovació
63
:Text d'aprovació
Line 86... Line 86...
86
 
86
 
87
:Enunciat per a la tercera etapa
87
:Enunciat per a la tercera etapa
88
\text{instruction3=Donner le futur du verbe \name à la première personne du singulier sans oublier le pronom.}
88
\text{instruction3=Donner le futur du verbe \name à la première personne du singulier sans oublier le pronom.}
89
 
89
 
90
:%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%%
90
:%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%%
-
 
91
\css{<style>
-
 
92
  .name {color:#047;}
-
 
93
  .big_bullet>li{font-size:2em;color:#599;margin:0 0 .5em .5em;}
-
 
94
  .big_bullet div, .big_bullet label{font-size:1rem;margin:.2em;}
91
\css{<style> .feedback{color:brown;padding:3pt;}.answer{color:navy;}.name {color:blue;}</style>}
95
  .big_bullet .instruction,.big_bullet .reponse{color:initial;}
-
 
96
</style>}
92
 
97
 
93
\text{format1=wims(word 1 of \format1)}
98
\text{format1=wims(word 1 of \format1)}
94
\text{format2=wims(word 1 of \format2)}
99
\text{format2=wims(word 1 of \format2)}
95
\text{format3=wims(word 1 of \format3)}
100
\text{format3=wims(word 1 of \format3)}
96
\text{rep1=\data[1]}
101
\text{rep1=\data[1]}
Line 141... Line 146...
141
:%%%
146
:%%%
142
\nextstep{\STEP}
147
\nextstep{\STEP}
143
 
148
 
144
\statement{
149
\statement{
145
<div>\instruction</div>
150
<div>\instruction</div>
146
<ol><li>
-
 
147
  <div class="instruction">
151
<ol class="big_bullet"><li>
148
   \instruction1</div>
152
  <div class="instruction">\instruction1</div>
149
 \if{\step=1}{ \embed{r1} }
153
  \if{\step=1 or \step>=4}{
150
 \if{\step>=1}{</li>}
154
    \if{\format1 notsametext radio}{
151
 \if{\step>=2}{<li>
-
 
152
  <div class="feedback">
-
 
153
 \if{\sc_reply1=1}{\right}{\false} \feedback1
155
      <label class="reponse" for="reply1">\name_my_answer \embed{r1}</label>
154
 </div>
156
    }{
155
 <div class="instruction">
157
      <div class="reponse">\name_my_answer \embed{r1}</div>
156
  \instruction2
-
 
157
</div>
158
    }
158
 }
159
  }{
159
 \if{\step=2}{
160
    <div class="reponse">
-
 
161
      \name_my_answer <span class="name">\reply1</span>
160
  \embed{r2}
162
    </div>
161
 }
163
  }
162
 \if{\step>=2}{</li>}
-
 
163
 
164
 
164
 \if{\step>=3}{<li>
165
  \if{\step>=2}{
165
   <div class="feedback">
166
    <div class="feedback
166
  \if{\sc_reply2=1}{\right}{\false} \feedback2
167
      \if{\sc_reply1=1}{oef_indgood">\right}{\if{\sc_reply1<=0}{oef_indbad}{oef_indpartial}">\false} \feedback1
167
   </div>
168
    </div>
168
   \if{\step >=3 and \format3!=0}{
169
    </li><li>
169
     <div class="instruction"> \instruction3</div>
170
    <div class="instruction">
170
     <p>\embed{r3}</p>
171
      \instruction2
171
   }
172
    </div>
172
  }
173
  }
173
 \if{\step>=3}{</li>}
-
 
174
 
174
 
-
 
175
  \if{\step=2 or \step>=4}{
-
 
176
    \if{\format2 notsametext radio}{
-
 
177
      <label class="reponse" for="reply2">\name_my_answer \embed{r2}</label>
-
 
178
    }{
-
 
179
      <div class="reponse">\name_my_answer \embed{r2}</div>
-
 
180
    }
-
 
181
  }
-
 
182
 
-
 
183
  \if{\step>=3}{
-
 
184
    \if{\step < 4}{
-
 
185
      <div class="reponse">
-
 
186
        \name_my_answer <span class="name">\reply2</span>
-
 
187
      </div>
-
 
188
    }
-
 
189
    <div class="feedback
-
 
190
      \if{\sc_reply2=1}{oef_indgood">\right}{\if{\sc_reply2<=0}{oef_indbad}{oef_indpartial}">\false} \feedback2
175
  </ol>
191
    </div>
-
 
192
    \if{\format3!=0}{
-
 
193
      </li><li>
-
 
194
      <div class="instruction"> \instruction3</div>
-
 
195
      \if{\format3 notsametext radio}{
-
 
196
        <label class="reponse" for="reply3">\name_my_answer \embed{r3}</label>
-
 
197
      }{
-
 
198
        <div class="reponse">\name_my_answer \embed{r3}</div>
-
 
199
      }
-
 
200
    }
-
 
201
  }
176
  \if{\step>=4 and \format3!=0}{
202
  \if{\step>=4 and \format3!=0}{
177
   <div class="feedback">
203
    <div class="feedback
178
  \if{\sc_reply3=1}{\right}{\false} \feedback3
204
      \if{\sc_reply3=1}{oef_indgood">\right}{\if{\sc_reply3<=0}{oef_indbad}{oef_indpartial}">\false} \feedback3
179
   </div>
205
    </div>
180
  }
206
  }
-
 
207
  </li>
181
 
208
</ol>
182
}
209
}
183
 
210
 
184
\answer{}{\rep1}{type=\format1}{option=nonstop}
211
\answer{}{\rep1}{type=\format1}{option=nonstop}
185
\answer{}{\rep2}{type=\format2}{option=nonstop}
212
\answer{}{\rep2}{type=\format2}{option=nonstop}
186
\answer{}{\rep3}{type=\format3}{option=nonstop}
213
\answer{}{\rep3}{type=\format3}{option=nonstop}