Rev 4091 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4091 | Rev 5903 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | to have an idea of the structure of an OEF file. |
20 | to have an idea of the structure of an OEF file. |
21 | <+p> |
21 | <+p> |
22 | <h4>Basic syntax</h4> |
22 | <h4>Basic syntax</h4> |
23 | <p>The format of a OEF file is very similar to LaTeX. It is composed of |
23 | <p>The format of a OEF file is very similar to LaTeX. It is composed of |
24 | directives followed by one or more parameters. A directive is a word |
24 | directives followed by one or more parameters. A directive is a word |
25 | preceeded by the character < |
25 | preceeded by the character <span class="tt wims_code_variable">\</span>, |
26 | and the parameters are enclosed in braces. |
26 | and the parameters are enclosed in braces. |
27 | For example, in the following sentence |
27 | For example, in the following sentence |
28 | </p><pre> |
28 | </p><pre> |
29 | \choice{The answer is}{yes}{no} |
29 | \choice{The answer is}{yes}{no} |
30 | </pre> |
30 | </pre> |
31 | there is a directive named < |
31 | there is a directive named <span class="tt">choice</span>, |
32 | which has 3 parameters, namely, < |
32 | which has 3 parameters, namely, <span class="tt">The answer is</span>, <span class="tt">yes</span> |
33 | and < |
33 | and <span class="tt">no</span>. |
34 | 34 | ||
35 | <h4>List of directives</h4> |
35 | <h4>List of directives</h4> |
36 | <p>Here is a brief list of directives recognized by the OEF manager of WIMS. |
36 | <p>Here is a brief list of directives recognized by the OEF manager of WIMS. |
37 | See also |
37 | See also |
38 | !href cmd=help&special_parm=parameters help on parameters |
38 | !href cmd=help&special_parm=parameters help on parameters |