TealDoc tags take the following format (including the <>):

<TAGNAME PARAMETER1=VALUE PARAMETER2=VALUE>

Notes:
1) All text within the tags must be in all upper case
2) Each tag must appear alone on a single line.
3) Text parameter values should be surrounded by double quotes; parameters and numeric values should not be quoted. 

Some Defined Tags:
-------------------------------------------------------------------------
* HEADER
Adds a text header in the specified text and options. (New for
2.5)

This option is designed to be used to create topic headers with
specified justification much like the HTML <H1>...etc tags.
Note that when justifying, alignment is relative to the X coordinate,
if specified. For instance, if right justification is used,
the text is rendered so the right edge of the text lines up
onto the X coordinate.

Optional Parameters:

* TEXT
Text to draw for the header

* FONT
Font 0 (normal), 1 (bold), or 2 (large) to use for the text

* X
Horizontal screen position

* Y
Vertical screen offset from top of current line (default 0)

* STYLE
"NORMAL" (default), "UNDERLINE", or "INVERT"

* ALIGN
"LEFT" (default), "RIGHT", or "CENTER"

Example:

<HEADER TEXT="Contents" ALIGN=CENTER STYLE=UNDERLINE>


-------------------------------------------------------------------------
* HRULE
Inserts a horizontal ruled line into the document. This is useful
for dividing parts of a document in a way that works independent
of the current font setting.

Optional Parameters:

* WIDTH
Width (length), in pixels, of the line (default 160)

* HEIGHT
Hieght (thickness), in pixels, of the line (default 2)

* X
Horizontal screen offset from left edge (default 0)

* Y
Vertical screen offset from top of current line (default
4)

* STYLE
"OUTLINE" or "SOLID" (default)

Example:

<HRULE STYLE=OUTLINE>

-------------------------------------------------------------------------
* LINK
Inserts a link button into the document which can be pressed
to jump elsewhere into the document or into another document.

You typically define a button by naming it using the TEXT parameter
and defining a unique TAG to search for which matches the name
of a LABEL (described below). If you wish to link to another
document, the FILE parameter should also be defined.

The TAG used to mark a document must be unique from any text
within the document, as a standard 'find' command is used to
located the tag after a link is selected. By default, this search
begins at the top of a file and proceeds downwards. You can
optimize the search by using the START parameter to start the
search elsewhere in the document, and the DIR parameter to search
backwards, if appropriate.

Optional Parameters:

* TEXT
Text to draw within the button (default 'link')

* FONT
Font 0 (normal), 1 (bold), or 2 (large) to use for the text

* WIDTH
Width (length), in pixels, of the line (default 160)

* HEIGHT
Hieght (thickness), in pixels, of the line (default 2)

* X
Horizontal screen offset from left edge (default 0)

* Y
Vertical screen offset from top of current line (default
4)

* FILE
Name of document to jump to (default = current doc)

* TAG
Name of label to find

* START
Position in document (0-100) percent to initially seek or
"CURRENT".

* DIR
Find direction: "FORWARD" (default) or "REVERSE"

* STYLE
"BOX" (default), "UNDERLINE", or "BARE" (new for 2.5)

Example:

<LINK TEXT="Press Me" TAG="Contents" FILE="My Novels">

-------------------------------------------------------------------------
* LABEL
Inserts nonprinting text into a document to be used as a target
for a link.

Required Parameters:

* NAME
Name of this label

Example:

<LABEL NAME="Contents">

-------------------------------------------------------------------------
* TEALPAINT
Inserts a TealPaint picture, or even a sub rectangle of pixels
from a picture. Using sub rectangles, you can use memory efficiently
by packing multiple graphic elements into single TealPaint images
and extract them individually to display in different parts
of a document.

To create TealPaint pictures, use TealPaint or the Windows 95
program "TealPaint Image Manager" that comes with TealPaint.
For the images to appear properly both the document file and
image database must be loaded properly.

The SRC parameter defines the name of the Image Database to
use. This is the name of the file as it appears on the PalmPilot,
(as in TealPaint) not necessarily the name of the file on the
PC.

You define the sub rectangle to grab using the parameters SX,SY,WIDTH,and
HEIGHT. If you omit these, the whole source image will be grabbed.
This will be placed into the document on the current line at
the left edge, unless the X and Y parameters are used to offset
the image to the right and downwards.

Required Parameters:

* SRC
Name of the source image database containing the picture.

Optional Parameters:

* IMAGE
Image number in the database of the image to use

* WIDTH
Width, in pixels, of the rectangle to grab (multiple of 8)

* HEIGHT
Hieght, in pixels, of the rectangle to grab

* SX
Horizontal offset of sub rectangle to grab (multiple of 8)

* SY
Vertical offset of sub rectangle to grab

* X
Horizontal screen offset from left edge to place image (multiple
of 8)

* Y
Vertical screen offset from current line to place image

Example:

<TEALPAINT SRC="Pictures" IMAGE=0>

