Generating lessons
Lesson for the sample course are generated using two scripts:
-
make_sp_page
-
This takes a species name and a detail level as arguments.
It applies an XSL transformation,
species_page.xsl,
to the knowledge base.
This generates a lesson core document describing this species,
with pictures of its various features.
The expert version includes its Latin name.
The core document is immediately transformed by
the default lesson stylesheet,
lesson_style.xsl,
produce the lesson document.
This is run through a sed script that changes the notation
of fractions, from 1/2 to ½ etc.
-
process_lesson
-
This transforms a manually-generated lesson core document
using the default lesson stylesheet.
Next-> Generating exercises
Teachpoint home page