.---------------------------------------------------------------------
.-  prelude.def   htmlpp documentation definitions
.-
.-  I like to use a single file to collect all definitions such as
.-  links to external pages, headers, footers, etc.
.---------------------------------------------------------------------

.-  The complete $(SERVER) tree is mirrored at $(LOCAL)
.define SERVER          ""
.define LOCAL           %(SITE)
.define imatix          http://www.imatix.com/
.define info            mailto:info@imatix.com
.define tools           /pub/tools
.define htmlpp.zip      $(tools)/htmlp%(vht).zip
.define htmlpp.tgz      $(tools)/htmlp%(vht).tgz
.define lrdoc.zip       $(tools)/lrdoc.zip
.define htmlpp.txt      doc/htmlpp.txt
.define gnugpl          /html/gnugpl.htm

.define info-zip        http://www.cdrom.com/pub/infozip/
.define bperl -
 ftp://ftp.cs.colorado.edu/mirrors/CPAN/ports/msdos/old/perl4/bperl1x.zip
.define perl            ftp://ftp.ee.umanitoba.ca/pub/msdos/perl
.define winperl         http://www.activestate.com/
.define altavista       http://www.altavista.digital.com
.define htmlppfr        http://www.eleves.ens.fr:8080/home/nthiery
.define linuxjnl        http://www.linuxjournal.com/issue44/2448.html
.define langcodes       http://www.oasis-open.org/cover/iso639a.html
.define DB_Manager      http://www.extropia.com/products.html

.block header
<HTML><HEAD><!--Revised: $(revised) By: $(author)-->
<TITLE>$(TITLE)</TITLE></HEAD>
<BODY BACKGROUND="newstone.gif">
<TABLE WIDTH=100%><TR><TD ALIGN=LEFT>
 | <A HREF="/index.htm"> iMatix home page</A><BR>
 | <A HREF="index.htm"> htmlpp home page</A><BR>
 | $(*FIRST_PAGE=&lt;&lt;) | $(*PREV_PAGE=&lt;)
 | $(*NEXT_PAGE=&gt;) | $(*LAST_PAGE=&gt;&gt;)
<TD ALIGN=RIGHT>
<IMG SRC="htmlpp1.gif" ALT="htmlpp" WIDTH=100 HEIGHT=75 ALIGN=RIGHT HSPACE=10>
<FONT SIZE=4><B>htmlpp</B><BR><FONT SIZE=2>Version $(version)
</TABLE>
<HR>
.endblock

.block footer
<HR><TABLE WIDTH=100%><TR><TD ALIGN=LEFT WIDTH=60%>
 | $(*FIRST_PAGE=&lt;&lt;) | $(*PREV_PAGE=&lt;)
 | $(*NEXT_PAGE=&gt;) | $(*LAST_PAGE=&gt;&gt;)
<BR><FONT SIZE=2>
.build index
<TD ALIGN=RIGHT NOWRAP>
<A HREF="/index.htm">
<IMG SRC="im0096c.gif" WIDTH=96 HEIGHT=36 ALT="iMatix" BORDER=0>
</A>
<BR><FONT SIZE=2>Copyright &#169; 1996-97 iMatix</TABLE>
</BODY></HTML>
.endblock

.block pipe_header
<HTML><HEAD><!--Revised: $(revised) By: $(author)-->
<TITLE>$(PIPE_TITLE)</TITLE></HEAD>
<HR>
.endblock

.block pipe_footer
<HR><FONT SIZE=2>Copyright &#169; 1996-98 iMatix
</BODY></HTML>
.endblock

.-  Browsers do not generally like an empty anchor.  We do not want
.-  to show anything, since anchors often come just before headers.
.-  One possibility is a non-breaking space, which is what we use.
.-
.block anchor
<A NAME="$(ANCHOR)">&nbsp;</A>
.endblock

.block index_open
.block index_entry
| &pageref("$(INDEX_PAGE)","<EM>$(INDEX_TITLE)</EM>")
.endblock

.block dir_open
<PRE>
.block dir_entry
$(*DIR_HREF="$(DIR_NAME)") $(DIR_SIZE) $(DIR_DATE) $(DIR_TIME)  $($(DIR_EXT))
.block dir_close
</PRE>
.endblock

.-  In the directory entry block (above), we translate each extension into
.-  a descriptive text using $($(DIR_EXT)).  For instance, ".txt" -> "Text".
.-  The filetype.def file lists various such extensions.  Add your own to
.-  cover the types of file you provide.  If you fail to define some file
.-  extension, htmlpp will give you an error message like '.txt undefined'.

.include filetype.def
