Prev Next Top
The header and footer parts are generated with the help of related templates. Both templates recognize the following variables:
- @PREV@
: It will be transformed into the relative file-path to the file that contains the previous segment from your source document.
- @NEXT@
: It will be transformed into the relative file-path to the file that contains the next segment from your source document.
- @TOC@
: It will be transformed into the relative file-path to the TOC.htm file
- @HOME@
: It will be transformed into the relative file-path to the first segment from your source document.
An example will illustrate how such a template works. Here is a simple footer template:
<HR><A HREF="@PREV@">Prev</A> <A HREF="@NEXT@">Next</A>
If your documents had the following segments "Chapter1", Chapter 2" etc; the resulting files will be Chapter1.htm, Chapter2.htm, etc. For your third segment, the footer part will become:
<HR><A HREF="Chapter2.htm">Prev</A> <A HREF="Chapter4.htm">Next</A>
Probably, you get the idea.
A header and/or footer template might come from two possible sources:
- The files named HeaderTemplate.txt and FooterTemplate.txt that are located in the application directory; they are the default header and footer templates. You can replace these files with your own version as long as they have the same names.
- The name of the files that you specified in the Style Setup panel and that should be found in your source document directory.
Prev Next Top