The steps the system takes when generating an html header file are as follows:
The steps the system takes when generating an html footer file are as follows:
[hline] - Draw a line centred, width 80% (HTML/PDF options).
[htext some text here] - This will add the text directly to the resulting protocol file. For example, if you wanted to include some DataMajor information and format it to match the rest of the document, you could use:
[htext <h3>History of Wormer Purchases</h3><p><dir> [sql worm.sql] [htext </dir>] [hline]
Will add the heading 'History of Wormer Purchases', run the script 'worm.sql' which will list all the wormers the client has purchased, indented to match the other tables and add it as a table then draw a line.
The [htext option is handy for adding additional information. When the [pdf option is used, the pdf processor looks for additional tags for details on document formatting e.g. to take a new page use:
[htext <!-- PAGE BREAK -->]
In this case you can also add html code to alter the font:
[htext <span style="font-family: Helvetica, Verdana, Arial, sans-serif">]
When generating HTML you can use `style sheets' - If there is a file 'style.css' in the sheets folders it will be included automatically in the header. This allows you to load standard style sheets to all your protocols.
You can use [style filename] to use another style you want. If when using the [style.. option the filename does NOT contain a '/' it will be taken from the Sheets folder.
The style.css can be a full style sheet reference e.g.
<link rel="stylesheet" type="text/css" href="protocol.css" title="protocol css">or an in-line style sheet e.g.
<style type="text/css">
H1 { color: blue }
</style>
The choice is yours.