| Next: top_left_txt Previous: back_image Contents: Contents |
--bottom_idx_template=filename
--bottom_toc_template=filename
--nav_bottom_template=filename
Filenames for template files (in HTML format). The bottom template is appended to each slide. Can be used to create footers with navigation, copyright note etc. The top template is inserted at the top of each slide.
The _idx_ templates are used for the index slide and the _toc_ templates are used for the table of contents slide.
The nav_top and nav_bottom templates are included in all pages on top, just below the top_template and at the bottom just before the bottom_template. If the --nav_template option is set, the nav_template will be used on top and at the bottom unless you specify --nav_top_template or --nav_bottom_template. The latter both will overwrite the --nav_template option.
NOTE: Templates should not contain <HTML>, <HEAD>, <TITLE> or <BODY> tags. These tags are always written by pp2html. There is, however, one exception: If you use the --frame_set option without java script navigation (see below), then the top and bottom HTML templates should be directly included in the frame set template and should be full HTML files with HEAD and BODY lines.
The following keywords and "function calls" are substituted with corresponding values when the templates are included. (Everything should be completed in the line of its beginning, there's no multiline support built in yet.)
TITLE text specified by --title option
URL_HERE hyperlink to the current page
URL_NEXT hyperlink to next page
TXT_NEXT header of next page
URL_PREV hyperlink to previous page
TXT_PREV header of previous page
URL_FIRST hyperlink to first page
TXT_FIRST header of first page
URL_LAST hyperlink to last page
TXT_LAST header of last page
URL_UP hyperlink to upper page
TXT_UP header of upper page
URL_DOWN hyperlink to subsection page
TXT_DOWN header of subsection page
URL_CONTENTS hyperlink to contents page
TXT_CONTENTS text specified by --contents_header
URL_INDEX hyperlink to index page
TXT_INDEX text specified by --index_header
LABEL_NEXT label text for "next" link
LABEL_PREV label text for "previous" link
LABEL_CONTENTS label text for "contents" link
LABEL_INDEX label text for "index" link
PAGE page or chapter number
PAGE_CNT number of pages
PAGE_PATH a clickable "path" of parent slides intended for navigation in deeply nested documents
TOP_LEFT_TXT text for left side in top templates, see --top_left_txt
TOP_RIGHT_TXT text for right side in top templates, see --top_right_txt
TOP_MIDDLE_TXT text for middle in top templates, see --top_middle_txt
BOT_LEFT_TXT text for left side in bottom templates, see --bot_left_txt
BOT_RIGHT_TXT text for right side in bottom templates, see --bot_right_txt
BOT_MIDDLE_TXT text for middle in bottom templates, see --bot_middle_txt
LOGO_IMAGE_FILENAME text for the logo image filename in template files,
see --logo_image_filename
START_ADDRESS start address URL as specified --startaddress
DATE(<format>) date (and/or time) in the specified C<POSIX::strftime> format,
(e.g. "DATE(%s)")
VAR(<variable>) insert the current value of the PerlPoint variable $<variable>
(e.g. "VAR(version)")
OPT(<option>, <part>) optionally insert <part> into the template, depending on whether
C<pp2html> option <option> is set or not. The inserted part might contain
further keywords. Make sure everything is places in I<one> line, and there
is no additional closing paranthesis. Example: "OPT(insert_date, DATE(%c))". |
| Next: top_left_txt Previous: back_image Contents: Contents |