Printing with Neeps

Creating RTF files using Neeps.

Outline

Neeps can be used to produce timetables in "rich text format" - rtf. This can be viewed and printed by Microsoft Word or Wordpad.

The mechanism used is textual substitution of variables which must be put in the right place on the formatted template page. For each timetable to be printed Neeps loads the appropriate template and simply substitutes each variable with its appropriate value (nothing is printed if the variable is not defined).

Variable must be "tagged" using a code which would not otherwise appear in a timetable. By default !! is used to indicate the start of a variable and ! denotes the end. For example !!LONG! will be replaced by the "long name" of the item being printed.


Variables

ID
The id field for the item being printed - its "short name".
LONG
The long name of the item being printed.
WEEKS
The list of weeks for which this timetable is valid
d.hh:mmT
The TLA of the module of the event which takes place at session
d.hh:mmM
The ID of the module of the event which takes place at session d.hh:mm
d.hh:mmK
The kind of the event which takes place in the specified session.
d.hh:mmR
The room of the event which takes place in the specified session.
d.hh:mmF
The ID's of the staff attending the event which takes place in the specified session.
d.hh:mmD
The ID's of the students who attend the event which takes place in the specified session.
MIn
The module ID of the nth module to appears on the timetable alphabetically.
MLn
The long name of the nth module to appears on the timetable alphabetically.
MTn
The TLA of the nth module to appears on the timetable alphabetically.
FIn
The ID of the nth member of staff to appears on the timetable alphabetically.
FLn
The long name of the nth member of staff to appears on the timetable alphabetically.
DIn
The ID of the nth student group to appears on the timetable alphabetically.
DLn
The long name of the nth student group to appears on the timetable alphabetically.