Subversion Repositories wimsdev

Rev

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

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