Rev 15179 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15179 | Rev 17234 | ||
---|---|---|---|
Line 103... | Line 103... | ||
103 | \integer{N=min(\N,10)} |
103 | \integer{N=min(\N,10)} |
104 | \text{liste=shuffle(\cnt_question)} |
104 | \text{liste=shuffle(\cnt_question)} |
105 | \text{liste=\liste[1..\N]} |
105 | \text{liste=\liste[1..\N]} |
106 | \matrix{data=\data} |
106 | \matrix{data=\data} |
107 | \text{texte=\data[\liste;]} |
107 | \text{texte=\data[\liste;]} |
108 | \text{texte=wims(replace internal ; by <br |
108 | \text{texte=wims(replace internal ; by <br> in \texte)} |
109 | } |
109 | } |
110 | 110 | ||
111 | \text{autocompletion=\format iswordof case ? autocomplete="off"} |
111 | \text{autocompletion=\format iswordof case ? autocomplete="off"} |
112 | \integer{first_step=\first_step notwordof 0 ? 1} |
112 | \integer{first_step=\first_step notwordof 0 ? 1} |
113 | \text{option_reaccent=\reaccent!=yes ? noreaccent:} |
113 | \text{option_reaccent=\reaccent!=yes ? noreaccent:} |
Line 117... | Line 117... | ||
117 | 117 | ||
118 | \text{texte=wims(\texte)} |
118 | \text{texte=wims(\texte)} |
119 | \text{texte=\accolade=1 ?wims(embraced randitem \texte)} |
119 | \text{texte=\accolade=1 ?wims(embraced randitem \texte)} |
120 | \text{texte=wims(replace internal ??| by ?? | in \texte)} |
120 | \text{texte=wims(replace internal ??| by ?? | in \texte)} |
121 | \text{texte=wims(replace internal ?? | by ?? | in \texte)} |
121 | \text{texte=wims(replace internal ?? | by ?? | in \texte)} |
122 | \text{texte = wims(replace internal <br |
122 | \text{texte = wims(replace internal <br> by <br> _newline_ in \texte)} |
123 | 123 | ||
124 | \matrix{texte=slib(text/markgroup \texte)} |
124 | \matrix{texte=slib(text/markgroup \texte)} |
125 | \matrix{numero=\texte[1..-4;]} |
125 | \matrix{numero=\texte[1..-4;]} |
126 | \text{traduction=\texte[-2;]} |
126 | \text{traduction=\texte[-2;]} |
127 | \text{traduction=wims(replace internal || by | in \traduction)} |
127 | \text{traduction=wims(replace internal || by | in \traduction)} |
Line 247... | Line 247... | ||
247 | \embed{\STEP[\position[\nombre[\coupure*\u+\v]]], \size |
247 | \embed{\STEP[\position[\nombre[\coupure*\u+\v]]], \size |
248 | \autocompletion} |
248 | \autocompletion} |
249 | }{ } |
249 | }{ } |
250 | </td> |
250 | </td> |
251 | } |
251 | } |
252 | </tr><tr><td colspan="\coupure"><hr |
252 | </tr><tr><td colspan="\coupure"><hr></td></tr> |
253 | </table> |
253 | </table> |
254 | } |
254 | } |
255 | </div> |
255 | </div> |
256 | } |
256 | } |
257 | } |
257 | } |