Subversion Repositories wimsdev

Rev

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

Rev 13716 Rev 13725
Line 78... Line 78...
78
\text{partialscore=split}
78
\text{partialscore=split}
79
 
79
 
80
\text{first_step=1}
80
\text{first_step=1}
81
\text{alea=yes}
81
\text{alea=yes}
82
\css{<style>
82
\css{<style>
83
   .question {background-color: #FFFFCC;margin: 2% 2%;padding: 1%;}
83
  .reponse {border-left-color: #FFCC99;}
84
   .reponse {background-color: #FFCC99;margin: 2% 2%;padding: 1%;}
84
  .verbe{color:blue;font-size:large;}
85
 </style>}
85
</style>}
86
\text{paste=yes}
86
\text{paste=yes}
87
\text{pos_rep=outside}
87
\text{pos_rep=outside}
88
\text{second_step=\format notsametext ? yes:no}
88
\text{second_step=\format notsametext ? yes:no}
89
#####################
89
#####################
90
 
90
 
Line 175... Line 175...
175
\preliminaire
175
\preliminaire
176
  \if{\reading notsametext }{\special{help reading,[à lire]}}
176
  \if{\reading notsametext }{\special{help reading,[à lire]}}
177
  \if{\image notsametext }{\special{help image,[à regarder]}}
177
  \if{\image notsametext }{\special{help image,[à regarder]}}
178
  \audio\video
178
  \audio\video
179
  \if{\step=\first_step}{
179
  \if{\step=\first_step}{
180
    <div class="question">
180
    <div class="oef_question">
181
   \if{\format iswordof flashcard}{
181
   \if{\format iswordof flashcard}{
182
     <p> \for{h=1 to \cnt}{\texte[\h] }</p>}
182
     <p> \for{h=1 to \cnt}{\texte[\h] }</p>}
183
    \for{h=1 to \cnt}{
183
    \for{h=1 to \cnt}{
184
      \embed{reply 1,\h}
184
      \embed{reply 1,\h}
185
    }
185
    }
186
    </div>
186
    </div>
187
   }
187
   }
188
 \if{\step >=1+\first_step}{
188
 \if{\step >=1+\first_step}{
189
   \if{\pos_rep=outside}{
189
   \if{\pos_rep=outside}{
190
     <div class="reponse">
190
     <div class="oef_question reponse">
191
     \for{s = 1 to \cnt}{
191
     \for{s = 1 to \cnt}{
192
      \if{\s notitemof \Numero}{\texte[\s]}{
192
      \if{\s notitemof \Numero}{\texte[\s]}{
193
      \if{\s isitemof \Numero}{
193
      \if{\s isitemof \Numero}{
194
      <span style="color:blue;font-size:large;">\texte[\s]</span>}
194
      <span class="verbe">\texte[\s]</span>}
195
      }
195
      }
196
    }
196
    }
197
    </div>
197
    </div>
198
     <p>\instruction2</p>
198
     <p>\instruction2</p>
199
    <div class="question">
199
    <div class="oef_question">
200
   \for{s= 1 to \cnt_mot}{
200
   \for{s= 1 to \cnt_mot}{
201
         <div class="field">
201
         <div class="field">
202
          <label for="reply\labels[\s]">\rep_compose[\s] :</label>
202
          <label for="reply\labels[\s]">\rep_compose[\s] :</label>
203
          \embed{\STEP[\s],\size
203
          \embed{\STEP[\s],\size
204
            \autocompletion}
204
            \autocompletion}
Line 206... Line 206...
206
   }
206
   }
207
   </div>
207
   </div>
208
 }
208
 }
209
 \if{\pos_rep=inside}{
209
 \if{\pos_rep=inside}{
210
    <p>\instruction2</p>
210
    <p>\instruction2</p>
211
    <div class="question">
211
    <div class="oef_question">
212
    \for{s = 1 to \cnt}{
212
    \for{s = 1 to \cnt}{
213
      \if{\s notitemof \Numero}{\texte[\s]}{
213
      \if{\s notitemof \Numero}{\texte[\s]}{
214
      \if{\s isitemof \prem_numero}{
214
      \if{\s isitemof \prem_numero}{
215
      \embed{\STEP[\position[\s]], \size
215
      \embed{\STEP[\position[\s]], \size
216
      \autocompletion}
216
      \autocompletion}
Line 218... Line 218...
218
      <span class="smaller" style="color:blue;">\texte[\s]</span>}
218
      <span class="smaller" style="color:blue;">\texte[\s]</span>}
219
    }
219
    }
220
   </div>
220
   </div>
221
  }
221
  }
222
  \if{\pos_rep=under}{
222
  \if{\pos_rep=under}{
223
    <div class="question">
223
    <div class="oef_question">
224
    \for{u = 0 to \quo}{<table style="border:none">
224
    \for{u = 0 to \quo}{<table style="border:none">
225
    <tr>
225
    <tr>
226
    \for{ v = 1 to \coupure}{<td style="text-align:center">
226
    \for{ v = 1 to \coupure}{<td style="text-align:center">
227
       \if{\coupure*\u+\v <= \cnt}{
227
       \if{\coupure*\u+\v <= \cnt}{
228
         \if{\nombre[\coupure*\u+\v] isitemof \Numero}{<span style="color:blue;">}
228
         \if{\nombre[\coupure*\u+\v] isitemof \Numero}{<span style="color:blue;">}