Subversion Repositories wimsdev

Rev

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

Rev 14436 Rev 16938
Line 39... Line 39...
39
      test_print=1
39
      test_print=1
40
    !else
40
    !else
41
      chce_$iii=
41
      chce_$iii=
42
    !endif
42
    !endif
43
    rep=
43
    rep=
-
 
44
    replatex=
44
    !!FIXME
45
    !!FIXME
45
    !if 3 isin $intro_check or $intro_check=$empty
46
    !if 3 isin $intro_check or $intro_check=$empty
46
      !for k=1 to $choicecnt
47
      !for k=1 to $choicecnt
47
        !if $(choicename$k)!=
48
        !if $(choicename$k)!=
48
          rep=!append line <em>$(choicename$k)</em>: $(choicegood$k) to $rep
49
          rep=!append line <em>$(choicename$k)</em>: $(choicegood$k) to $rep
-
 
50
          replatex=!append line $(choicename$k) : \verb!$(choicegood$k)! to $replatex
49
        !else
51
        !else
50
          rep=!append line $(choicegood$k) to $rep
52
          rep=!append line $(choicegood$k) to $rep
-
 
53
          replatex=!append line \verb!$(choicegood$k)! to $replatex
51
        !endif
54
        !endif
52
      !next k
55
      !next k
53
      !for k=1 to $replycnt
56
      !for k=1 to $replycnt
54
        thisstep=!line 1 of $oefsteps
57
        thisstep=!line 1 of $oefsteps
55
        !if r$k isitemof $thisstep or $oefsteps=$empty
58
        !if r$k isitemof $thisstep or $oefsteps=$empty
Line 146... Line 149...
146
              !set rg__=$rg__<tr><td>$(rg1__[$tmp])</td><td style="min-width:30px;text-align:left">&bullet;</td><td style="min-width:30px;text-align:right">&bullet;</td><td>$(rg2__[$(rg_2_[$tmp])])</td></tr>
149
              !set rg__=$rg__<tr><td>$(rg1__[$tmp])</td><td style="min-width:30px;text-align:left">&bullet;</td><td style="min-width:30px;text-align:right">&bullet;</td><td>$(rg2__[$(rg_2_[$tmp])])</td></tr>
147
              !set rgg_=$rgg_<tr><td>$(rg1__[$tmp])</td><td>\(\longleftrightarrow\)</td><td>$(rg2__[$tmp])</td></tr>
150
              !set rgg_=$rgg_<tr><td>$(rg1__[$tmp])</td><td>\(\longleftrightarrow\)</td><td>$(rg2__[$tmp])</td></tr>
148
            !next
151
            !next
149
            !set rg__=$rg__</tr></table>
152
            !set rg__=$rg__</tr></table>
150
            !set rg_=$rgg_</tr></table>
153
            !set rg_=$rgg_</tr></table>
-
 
154
            !!FIXME latex version
151
            Rg$iii=!append line $(rg__) to $(Rg$iii)
155
            Rg$iii=!append line $(rg__) to $(Rg$iii)
152
            !goto endRg
156
            !goto endRg
153
          !endif
157
          !endif
154
          !if $(replytype$k) iswordof draw
158
          !if $(replytype$k) iswordof draw
155
            rg__=$(rg_[2;])
159
            rg__=$(rg_[2;])
Line 180... Line 184...
180
            Replyname$iii=$(Replyname$iii)$tmp,
184
            Replyname$iii=$(Replyname$iii)$tmp,
181
            !if noanalyzeprint notwordof $(replyoption$k)
185
            !if noanalyzeprint notwordof $(replyoption$k)
182
              !if $(replyname$k)$rg_ !=
186
              !if $(replyname$k)$rg_ !=
183
                !if http isin $(replyname$k)$rg_
187
                !if http isin $(replyname$k)$rg_
184
                  rep=$rg_
188
                  rep=$rg_
-
 
189
                  replatex=
185
                !else
190
                !else
186
                  !if $(replyname$k)!=
191
                  !if $(replyname$k)!=
187
                    rep=!append line <em>$(replyname$k)</em>: $rg_ to $rep
192
                    rep=!append line <em>$(replyname$k)</em>: $rg_ to $rep
-
 
193
                    replatex=!append line $(replyname$k) : \verb!$rg_! to $replatex
188
                  !else
194
                  !else
189
                    rep=!append line $rg_ to $rep
195
                    rep=!append line $rg_ to $rep
-
 
196
                    replatex=!append line \verb!$rg_! to $replatex
190
                  !endif
197
                  !endif
191
                !endif
198
                !endif
192
              !endif
199
              !endif
193
            !endif
200
            !endif
194
          !endif
201
          !endif
Line 199... Line 206...
199
        !reset replyoption$k
206
        !reset replyoption$k
200
      !next k
207
      !next k
201
    !endif
208
    !endif
202
    rep=!imgrename $rep
209
    rep=!imgrename $rep
203
    ans_$iii=!trim $rep
210
    ans_$iii=!trim $rep
-
 
211
    anslatex_$iii=!trim $replatex
204
    !if $(ans_$iii)!=
212
    !if $(ans_$iii)!=
205
      test_print=1
213
      test_print=1
206
    !endif
214
    !endif
207
  !endif
215
  !endif
208
  !reset intro_check
216
  !reset intro_check