DefaultDirectory("in/");

ToFile("manicon.html")
WriteString("<HTML>
<BODY BGCOLOR=ffffff>
<A HREF=\"books.html\" TARGET=\"_parent\">
  <img src=\"yacaslogo.gif\" BORDER=0>
</A>
</BODY>
</HTML>
");

SetHtmlDirectory("");
Use("styleplain");  /* style sheet for the documentation */
Use("manualmaker"); /* engine that renders book to html */

InitBooks();        /* Initialize book building */

InitBook("intro");
Load("intro.book");

  GarbageCollect();

InitBook("coding");
Load("coding.book");

  GarbageCollect();

InitBook("essays");
Load("essays.book");

  GarbageCollect();

InitBook("ref");
Load("ref.book");

InitBook("refprog");
Load("refprog.book");

  GarbageCollect();

/* Emit framed version of the manual. */
SelectBook("intro");
EmitHtmlFramed();
//EmitHtmlSimple();

  GarbageCollect();

SelectBook("ref");
EmitHtmlFramed();

  GarbageCollect();

SelectBook("refprog");
EmitHtmlFramed();

  GarbageCollect();

SelectBook("coding");
EmitHtmlFramed();

SelectBook("essays");
EmitHtmlFramed();
//EmitHtmlSimple();

  GarbageCollect();

GroupBooks("ref","refprog");
SelectBook("ref");
EmitHtmlSimple();

  GarbageCollect();

/* make the index of framed books */
EmitBookIndex();



