Subversion Repositories wimsdev

Rev

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

Rev 7142 Rev 17235
Line 105... Line 105...
105
\text{steps=\steptype notsametext all?wims(items2lines \steps)}
105
\text{steps=\steptype notsametext all?wims(items2lines \steps)}
106
\steps{\steps}
106
\steps{\steps}
107
 
107
 
108
\statement{
108
\statement{
109
\if{\image notsametext }{
109
\if{\image notsametext }{
110
  <img align="right" hspace="10" src="\imagedir/\image" alt=""/> <p>
110
  <img align="right" hspace="10" src="\imagedir/\image" alt=""> <p>
111
}
111
}
112
\commonq
112
\commonq
113
\for{q=1 to \qcnt}{
113
\for{q=1 to \qcnt}{
114
 \if{\steptype issametext all or (\status issametext end and \q<=\step) or \q=\step}{
114
 \if{\steptype issametext all or (\status issametext end and \q<=\step) or \q=\step}{
115
  \if{\qcnt>1}{<div> \q. }
115
  \if{\qcnt>1}{<div> \q. }
Line 121... Line 121...
121
  }
121
  }
122
  </table>
122
  </table>
123
  \if{\status issametext end and \repind[\q]>0 and \feedback[\q;\repind[\q]] notsametext }{
123
  \if{\status issametext end and \repind[\q]>0 and \feedback[\q;\repind[\q]] notsametext }{
124
   <p style="color:\indcolor[\q];font-style:italic">\feedback[\q;\repind[\q]]</p>
124
   <p style="color:\indcolor[\q];font-style:italic">\feedback[\q;\repind[\q]]</p>
125
  }
125
  }
126
  \if{\q<\qcnt and (\steptype issametext all or \q<\step)}{<hr/>}
126
  \if{\q<\qcnt and (\steptype issametext all or \q<\step)}{<hr>}
127
 }
127
 }
128
}
128
}
129
\if{\image notsametext }{<br style="clear:right;"/>}
129
\if{\image notsametext }{<br style="clear:right;">}
130
}
130
}
131
 
131
 
132
\answer{\choicename 1}{\ans[1;];\list[1;]}{type=\anstype}{option=\option}
132
\answer{\choicename 1}{\ans[1;];\list[1;]}{type=\anstype}{option=\option}
133
\answer{\choicename 2}{\ans[2;];\list[2;]}{type=\anstype}{option=\option}
133
\answer{\choicename 2}{\ans[2;];\list[2;]}{type=\anstype}{option=\option}
134
\answer{\choicename 3}{\ans[3;];\list[3;]}{type=\anstype}{option=\option}
134
\answer{\choicename 3}{\ans[3;];\list[3;]}{type=\anstype}{option=\option}