Subversion Repositories wimsdev

Rev

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

Rev 5771 Rev 6083
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/> <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}{<p> \q. }
115
  \if{\qcnt>1}{<div> \q. }
116
  \statement[\q;]
116
  \statement[\q;]
117
  <p><table border=0 cellspacing=4>
117
  </div><table class"wimsnoborder">
118
  \for{i=1 to \Tot[\q]}{
118
  \for{i=1 to \Tot[\q]}{
119
   <tr><td nowrap>\embed{reply \q,\i}.</td>
119
   <tr><td nowrap>\embed{reply \q,\i}.</td>
120
   <td>\pick[\q;\i]</td></tr>
120
   <td>\pick[\q;\i]</td></tr>
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><font color=\indcolor[\q]><em>\feedback[\q;\repind[\q]]</em></font>
124
   <p style="color:"\indcolor[\q];font-type:italic">\feedback[\q;\repind[\q]]</p>
125
  }
125
  }
126
  \if{\q<\qcnt and (\steptype issametext all or \q<\step)}{<p><hr/>}
126
  \if{\q<\qcnt and (\steptype issametext all or \q<\step)}{<hr/>}
127
 }
127
 }
128
}
128
}
129
\if{\image notsametext }{<br 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}