Subversion Repositories wimsdev

Rev

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

Rev 13893 Rev 14006
Line 1... Line 1...
1
!!! Rg$i contains the data for questions embeddings of
1
!!! Rg$iii contains the data for questions embeddings of
2
!!! exercise $i (one line for each question)
2
!!! exercise $iii (one line for each question)
3
!!! ans_$i contains the data for the answer
3
!!! ans_$iii contains the data for the answer
4
!set prompt_empty=.............
4
!set prompt_empty=.............
5
 
5
 
6
!advance prcnt
6
!advance prcnt
7
!if $prcnt>6 and $wims_user!=supervisor
7
!if $prcnt>6 and $wims_user!=supervisor
8
  error=too_many_print
8
  error=too_many_print
Line 45... Line 45...
45
  !readproc oef/latex.proc begin
45
  !readproc oef/latex.proc begin
46
!else
46
!else
47
  latex_exists=-1
47
  latex_exists=-1
48
!endif
48
!endif
49
 
49
 
50
!for i=1 to $n
50
!for iii=1 to $n
51
  question_$i=
51
  question_$iii=
52
  e_=!item $i of $exo
52
  e_=!item $iii of $exo
53
  name_$i=$e_
53
  name_$iii=$e_
54
  !if $lang_choice!=$empty
54
  !if $lang_choice!=$empty
55
    title_$i=!defof title_$lang_choice in $(class_header)def/$e_.def
55
    title_$iii=!defof title_$lang_choice in $(class_header)def/$e_.def
56
  !else
56
  !else
57
    title_$i=!defof title_$lang in $(class_header)def/$e_.def
57
    title_$iii=!defof title_$lang in $(class_header)def/$e_.def
58
  !endif
58
  !endif
59
  !if $(title_$i)=$empty
59
  !if $(title_$iii)=$empty
60
    title_$i=!defof title in $(class_header)def/$e_.def
60
    title_$iii=!defof title in $(class_header)def/$e_.def
61
  !endif
61
  !endif
62
  !reset question testcondition format
62
  !reset question testcondition format
63
  thisexo=$e_
63
  thisexo=$e_
64
  !readproc oef/imagedir.proc
64
  !readproc oef/imagedir.proc
65
  !readproc oef/printanalysis.proc
65
  !readproc oef/printanalysis.proc