Subversion Repositories wimsdev

Rev

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

Rev 6132 Rev 6946
Line 103... Line 103...
103
  \matrix{data=\data}
103
  \matrix{data=\data}
104
  \text{texte=\data[\liste;]}
104
  \text{texte=\data[\liste;]}
105
  \text{texte=wims(replace internal ; by  <br/> in \texte)}
105
  \text{texte=wims(replace internal ; by  <br/> in \texte)}
106
}
106
}
107
 
107
 
108
\text{autocompletion=\format iswordof case ? autocomplete=off}
108
\text{autocompletion=\format iswordof case ? autocomplete="off"}
109
\integer{first_step=\first_step notwordof 0 ? 1}
109
\integer{first_step=\first_step notwordof 0 ? 1}
110
\text{option_reaccent=\reaccent!=yes ? noreaccent:}
110
\text{option_reaccent=\reaccent!=yes ? noreaccent:}
111
\text{nopaste=\paste issametext no ? slib(utilities/nopaste )}
111
\text{nopaste=\paste issametext no ? slib(utilities/nopaste )}
112
 
112
 
113
\text{size=\format iswordof dragfill clickfill ? \size x 1}
113
\text{size=\format iswordof dragfill clickfill ? \size x 1}
Line 161... Line 161...
161
\integer{quo=(\cnt-\reste)/\coupure}
161
\integer{quo=(\cnt-\reste)/\coupure}
162
\integer{quo=\reste=0? \quo-1}
162
\integer{quo=\reste=0? \quo-1}
163
\text{nombre=wims(makelist x for x = 1 to \cnt)}
163
\text{nombre=wims(makelist x for x = 1 to \cnt)}
164
%%%%%%%%%%%
164
%%%%%%%%%%%
165
 
165
 
166
\statement{\nopaste <p>\instruction</p>
166
\statement{\nopaste <div>\instruction</div>
167
\preliminaire
167
\preliminaire
168
  \if{\reading notsametext }{\special{help reading,[à lire]}}
168
  \if{\reading notsametext }{\special{help reading,[à lire]}}
169
  \if{\image notsametext }{\special{help image,[à regarder]}}
169
  \if{\image notsametext }{\special{help image,[à regarder]}}
170
  \audio\video
170
  \audio\video
171
  \if{\step=\first_step}{
171
  \if{\step=\first_step}{
172
    <div class="question">
172
    <div class="question">
173
   \if{\format iswordof flashcard}{
173
   \if{\format iswordof flashcard}{
174
     <p> \for{h=1 to \cnt}{\texte[\h] }</p>}  
174
     <div> \for{h=1 to \cnt}{\texte[\h] }</div>}  
175
    \for{h=1 to \cnt}{
175
    \for{h=1 to \cnt}{
176
      \embed{reply 1,\h} 
176
      \embed{reply 1,\h} 
177
    }
177
    }
178
    </div>
178
    </div>
179
   }
179
   }
Line 185... Line 185...
185
      \if{\s isitemof \Numero}{
185
      \if{\s isitemof \Numero}{
186
      <span style="color:blue;font-size:large;">\texte[\s]</span>}
186
      <span style="color:blue;font-size:large;">\texte[\s]</span>}
187
      }
187
      }
188
    }
188
    }
189
    </div>
189
    </div>
190
     <p>\instruction2</p>
190
     <div>\instruction2</div>
191
    <div class="question">
191
    <div class="question">
192
    <table>
192
    <table>
193
   \for{s= 1 to \cnt_mot}{
193
   \for{s= 1 to \cnt_mot}{
194
         <tr><td> \rep_compose[\s]</td> <td>:</td><td> \embed{reply \STEP[\s],\size
194
         <tr><td> \rep_compose[\s]</td> <td>:</td><td> \embed{reply \STEP[\s],\size
195
         \autocompletion}</td></tr>
195
         \autocompletion}</td></tr>
196
   }
196
   }
197
   </table>
197
   </table>
198
   </div>
198
   </div>
199
 }
199
 }
200
 \if{\pos_rep=inside}{
200
 \if{\pos_rep=inside}{
201
    <p>\instruction2</p>
201
    <div>\instruction2</div>
202
    <div class="question">
202
    <div class="question">
203
    \for{s = 1 to \cnt}{
203
    \for{s = 1 to \cnt}{
204
      \if{\s notitemof \Numero}{\texte[\s]}{
204
      \if{\s notitemof \Numero}{\texte[\s]}{
205
      \if{\s isitemof \prem_numero}{
205
      \if{\s isitemof \prem_numero}{
206
      \embed{\STEP[\position[\s]], \size
206
      \embed{\STEP[\position[\s]], \size