Next: XF User's Guide Up: xftutorial Previous: xftutorial

## The script files

The script files must contain input following certain rules. One of the script files must define a global list named chapterList. This list contains a list of lists. The first element of the lists is the title of the chapter, followed by the underline position of the menu item, and the script name of this chapter. To insert a separator, an empty list is inserted.

Each script file must define two variables first. The first variable ``<chapter>Last'' specifies the last accessible page number. The second variable ``<chapter>LastSectionDone'' is an internal counter initialized with -1.

Each page is represented by three variables. The first variable ``<chapter>Name<pagenumber>'' contains the name of the page. The second variable ``<chapter>Text<pagenumber>'' contains the text to display. The third variable ``<chapter>Command<pagenumber>'' contains the command to be executed. This command is sent to the application that uses the tutorial.