Subversion Repositories wimsdev

Rev

Rev 15179 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15179 Rev 17175
Line 94... Line 94...
94
  \integer{N=min(\N,10)}
94
  \integer{N=min(\N,10)}
95
  \text{liste=shuffle(\cnt_question)}
95
  \text{liste=shuffle(\cnt_question)}
96
  \text{liste=\liste[1..\N]}
96
  \text{liste=\liste[1..\N]}
97
  \matrix{data=\data}
97
  \matrix{data=\data}
98
  \text{texte=\data[\liste;]}
98
  \text{texte=\data[\liste;]}
99
  \text{texte=wims(replace internal ; by  <br/> in \texte)}
99
  \text{texte=wims(replace internal ; by  <br> in \texte)}
100
}
100
}
101
 
101
 
102
\text{autocompletion=\format iswordof case ? autocomplete="off"}
102
\text{autocompletion=\format iswordof case ? autocomplete="off"}
103
\integer{first_step=\first_step notwordof 0 ? 1}
103
\integer{first_step=\first_step notwordof 0 ? 1}
104
\text{option_reaccent=\reaccent!=yes ? noreaccent:}
104
\text{option_reaccent=\reaccent!=yes ? noreaccent:}
Line 108... Line 108...
108
 
108
 
109
\text{texte=wims(\texte)}
109
\text{texte=wims(\texte)}
110
\text{texte=\accolade=1 ?wims(embraced randitem \texte)}
110
\text{texte=\accolade=1 ?wims(embraced randitem \texte)}
111
\text{texte=wims(replace internal ??| by ??&nbsp;| in \texte)}
111
\text{texte=wims(replace internal ??| by ??&nbsp;| in \texte)}
112
\text{texte=wims(replace internal ?? | by ??&nbsp;| in \texte)}
112
\text{texte=wims(replace internal ?? | by ??&nbsp;| in \texte)}
113
\text{texte = wims(replace internal <br/> by <br/> _newline_  in \texte)}
113
\text{texte = wims(replace internal <br> by <br> _newline_  in \texte)}
114
 
114
 
115
\matrix{texte=slib(text/markgroup \texte)}
115
\matrix{texte=slib(text/markgroup \texte)}
116
\matrix{numero=\texte[1..-4;]}
116
\matrix{numero=\texte[1..-4;]}
117
\text{traduction=\texte[-2;]}
117
\text{traduction=\texte[-2;]}
118
\text{traduction=wims(replace internal || by | in \traduction)}
118
\text{traduction=wims(replace internal || by | in \traduction)}
Line 238... Line 238...
238
                  \embed{\STEP[\position[\nombre[\coupure*\u+\v]]], \size
238
                  \embed{\STEP[\position[\nombre[\coupure*\u+\v]]], \size
239
                         \autocompletion}
239
                         \autocompletion}
240
                }{&nbsp;}
240
                }{&nbsp;}
241
              </td>
241
              </td>
242
            }
242
            }
243
            </tr><tr><td colspan="\coupure"><hr /></td></tr>
243
            </tr><tr><td colspan="\coupure"><hr></td></tr>
244
          </table>
244
          </table>
245
        }
245
        }
246
      </div>
246
      </div>
247
    }
247
    }
248
  }
248
  }