Subversion Repositories wimsdev

Rev

Rev 4091 | Rev 5903 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3925 bpr 1
<h3><center>Using a document block for worksheet presentation</center></h3>
152 bpr 2
 
20 reyssat 3
You may put the address of a document block
4091 bpr 4
(such as <tt class="wims_fname">c1/main</tt>) to be the presentation page of the work sheet.
20 reyssat 5
The document itself need not be readable by participants.
6
<p>
7
Leave this field blank if you want to use the standard presentation page.
8
<p>
9
Links to individual exercises should be defined using the command
4091 bpr 10
<tt class="wims_code_variable">\exercise</tt>.
20 reyssat 11
You can use the following pre-defined variables:<ul>
4091 bpr 12
 <li><tt class="wims_code_variable">\scorerequire</tt> Required points of each exercise
13
 </li><li><tt class="wims_code_variable">\scoregot</tt> Participant's point achievements on each exercise
14
 </li><li><tt class="wims_code_variable">\scoremean</tt> Participant's average score on each exercise
15
 </li><li><tt class="wims_code_variable">\expiration</tt> Expiration date of the sheet, yyyymmdd
16
 </li><li><tt class="wims_code_variable">\today</tt> Date of today, yyyymmdd
3925 bpr 17
 </li>
20 reyssat 18
</ul>
19
All the score parameters are lists of numbers, each member of the list
20
corresponding to the number for an exercise of the sheet.
2886 bpr 21
 
22
 
23
<p>
3925 bpr 24
<b>For example</b>, if you are creating worksheet number 5, write the following instructions
25
in the </tt>c1/main</tt> block of the document:
2886 bpr 26
<pre>
3925 bpr 27
\exercise{5/1} : Score required: \scorerequire[1]
28
                 Score obtained: \scoregot[1]
2886 bpr 29
 
3925 bpr 30
\exercise{5/2} : Score required: \scorerequire[2]
31
                 Score obtained: \scoregot[2]
2886 bpr 32
 
3925 bpr 33
\exercise{5/3}{Un autre titre}: Score required \scorerequire[3]
34
                Score obtained: \scoregot[3]
2886 bpr 35
</pre>
36
 
37