//
// A simple uLpc script to do some simple markup of references and
// make things look a little prettyer.
//
// ROOTDIR is the directory where this file reside.
#define ROOTDIR "/usr/www/html/svmud/doc"
#define URLROOT "/svmud/"
#define THIS "doc.ulpc?"
#define INFRAME() THIS + "inframe=yes"
#define DIRINFRAME(arg) THIS + "dir=" + arg + "&inframe=yes"
#define DIRLINK(arg) THIS + "dir=" + arg
#define FILELINK(dir, fil) DIRLINK(dir) + "&file=" + fil
#define FRAMEHELP() FILELINK("annat", "framereadingwithwww")
#define SURROUND(str, tag) "<" + tag + ">\n" + str + "\n" + tag + ">\n"
#define HEAD(str) SURROUND(str, "head")
#define TITLE(str) SURROUND(str, "title")
#define H1(str) SURROUND(str, "h1")
#define UL(str) SURROUND(str, "ul")
#define PRE(str) SURROUND(str, "pre")
#define LINUS() "Linus"
#define HEADER(str) HEAD(TITLE(str)) \
+ "" + str + "\n" \
+ "
\n\n
\n" \
+ "