Source file: styles/simple-html4.0-loose.scm LAML Version 25.00 (full, beta-4, September 1, 2004)
This is the simple LAML style based on the html4.0-loose libraries.
Using this style, a number of useful LAML libraries will be loaded (time, color, file-read, cgi and of course the mirror libraries basis, surface and convenience).
In addition, the simple style defines the function generic-page (in two variants generic-page and generic-page-1) which
are useful to make a simple WWW page with title, body and color specification.
Define the name of the generated html file.
Using the Emacs activation of LAML the file name is taken from the buffer name, and as a consequence
it is not necessary to use this function.
Using other means of activation, this function can be used to set the name of the generated html file.
File is without extension.
Make a generic WWW page.
Title and body are the title and body of the page.
In the body you can use all the functions from the LAML html4.0 libraries.
Colors is an optional list of four parameters.
If given, it must be a list of exactly four colors:
Background color, text color (foreground color), link color, and visited link color.
A color can be made by the function make-color.