Subversion Repositories wimsdev

Rev

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

  1.  
  2. <h3>The format OEF</h3>
  3. <p>
  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.
  10. </p><p>
  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.
  17. </p><p>
  18. Please refer also to
  19. !href cmd=help&special_parm=examples the examples
  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
  24. directives followed by one or more parameters. A directive is a word
  25. preceeded by the character <span class="tt wims_code_variable">\</span>,
  26. and the parameters are enclosed in braces.
  27. For example, in the following sentence
  28. </p><pre>
  29.    \choice{The answer is}{yes}{no}
  30. </pre>
  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>.
  34.  
  35. <h4>List of directives</h4>
  36. <p>Here is a brief list of directives recognized by the OEF manager of WIMS.
  37. See also
  38. !href cmd=help&special_parm=parameters help on parameters
  39.  for the syntax to define parameters.
  40.  </p>
  41.  
  42.