Next: Frame Set Layout Previous: Using Templates Contents: Contents |
The most simple case is to not use any template files. This will just create a set of HTML files containing the headers and texts you noted in your input file. This is inconvenient as you have no navigation hyperlinks (except the links which have been created in the table of contents, slide0000.htm)
You can create simple HTML fragments as top and bottom templates:
File: simple_top.tpl
<TABLE bgcolor="#AFBDCA" width=100% cellpadding=5 cellspacing=0> <TR> <TD width=20%><img src="Logo.gif"></TD> <TD align=center>TITLE</TD> <TD align=right width=20%>August 2001</TD> </TR> </TABLE> |
File: simple_bot.tpl
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2> <TR> <TD border=0> </TD> <TD VALIGN=top ALIGN=right ><SMALL> Copyright © <a href="mailto:Lorenz.Domke@gmx.de">Lorenz Domke</a><br> All rights reserved. </SMALL> </TD> </TR> </TABLE> |
Then use this by calling
pp2html --top_template simple_top.tpl \ --bottom_template simple_bot.tpl -title "Cool Slides" input.pp |
In a similar manner you create navigation templates for top and/or bottom navigation bars which contain simple HTML tables. The cells may be colored and you use the URL_NEXT, TXT_NEXT etc. keywords. These keywords are automatically replaced with hyperlinks to the corresponding pages and with the page headers respectively.
See the examples in the pp2html_styles
subdirectory of the PerlPoint-Converters package.
Next: Frame Set Layout Previous: Using Templates Contents: Contents |