Rev 16937 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16937 | Rev 18102 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !!! exercise $iii (one line for each question) |
2 | !!! exercise $iii (one line for each question) |
3 | !!! ans_$iii 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 and $wims_developer!= ) |
8 | error=too_many_print |
8 | error=too_many_print |
9 | printing=yes |
9 | printing=yes |
10 | !exit |
10 | !exit |
11 | !endif |
11 | !endif |
12 | 12 | ||
Line 40... | Line 40... | ||
40 | M=0 |
40 | M=0 |
41 | m_step=1 |
41 | m_step=1 |
42 | test_print=0 |
42 | test_print=0 |
43 | !if $wims_developer!= or $wims_user=supervisor |
43 | !if $wims_developer!= or $wims_user=supervisor |
44 | latex_exists=0 |
44 | latex_exists=0 |
- | 45 | !if $printlatex=yes |
|
45 | !readproc oef/latex.proc begin |
46 | !readproc oef/latex.proc begin |
46 | !readproc oef/latex.proc header |
47 | !readproc oef/latex.proc header |
- | 48 | !endif |
|
47 | !else |
49 | !else |
48 | latex_exists=-1 |
50 | latex_exists=-1 |
49 | !endif |
51 | !endif |
50 | 52 | ||
51 | !for iii=1 to $n |
53 | !for iii=1 to $n |
Line 63... | Line 65... | ||
63 | !reset question testcondition format |
65 | !reset question testcondition format |
64 | thisexo=$e_ |
66 | thisexo=$e_ |
65 | !readproc oef/imagedir.proc |
67 | !readproc oef/imagedir.proc |
66 | !readproc oef/printanalysis.proc |
68 | !readproc oef/printanalysis.proc |
67 | !next |
69 | !next |
68 | !if $latex_exists>=1 |
70 | !if $latex_exists>=1 and $printlatex=yes |
69 | !readproc oef/latex.proc end |
71 | !readproc oef/latex.proc end |
70 | !endif |
72 | !endif |