Rev 4091 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
3263 | bpr | 2 | <h3>The format OEF</h3> |
3 | <p> |
||
23 | reyssat | 4 | |
5 | OEF means ``online exercise format'', a format for mathematical exercises |
||
6 | destinated to computer-aided teaching systems. The goal of the creation |
||
7 | of this format is to help the exchanges of content between different |
||
8 | systems. Therefore this format only contains mathematical informations of |
||
9 | the exercise. |
||
3263 | bpr | 10 | </p><p> |
23 | reyssat | 11 | The advantage of the OEF format is that exercises under it are very easy |
12 | to create. But it should be said that these exercises, in particular those |
||
13 | created by $module_title, are not as performing as native exercises of a |
||
14 | system such as WIMS. It is hard to imagine, at least for the time being, |
||
15 | the WIMS exercises such as Q-Puzzle, the Coincidence series or again the |
||
16 | Shoot series, be transformed into oef format. |
||
3263 | bpr | 17 | </p><p> |
23 | reyssat | 18 | Please refer also to |
19 | !href cmd=help&special_parm=examples the examples |
||
3263 | bpr | 20 | to have an idea of the structure of an OEF file. |
21 | <+p> |
||
22 | <h4>Basic syntax</h4> |
||
23 | <p>The format of a OEF file is very similar to LaTeX. It is composed of |
||
23 | reyssat | 24 | directives followed by one or more parameters. A directive is a word |
5903 | bpr | 25 | preceeded by the character <span class="tt wims_code_variable">\</span>, |
23 | reyssat | 26 | and the parameters are enclosed in braces. |
27 | For example, in the following sentence |
||
3263 | bpr | 28 | </p><pre> |
23 | reyssat | 29 | \choice{The answer is}{yes}{no} |
30 | </pre> |
||
5903 | bpr | 31 | there is a directive named <span class="tt">choice</span>, |
32 | which has 3 parameters, namely, <span class="tt">The answer is</span>, <span class="tt">yes</span> |
||
33 | and <span class="tt">no</span>. |
||
3263 | bpr | 34 | |
35 | <h4>List of directives</h4> |
||
36 | <p>Here is a brief list of directives recognized by the OEF manager of WIMS. |
||
23 | reyssat | 37 | See also |
38 | !href cmd=help&special_parm=parameters help on parameters |
||
39 | for the syntax to define parameters. |
||
3263 | bpr | 40 | </p> |
23 | reyssat | 41 |