
/* Initialize book building. */

DefaultDirectory("in/");

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

InitBooks();        /* Initialize book building */

InitBook("intro");
Blurb()
"This document gives a short introduction on Yacas.
Included is a short tutorial on the syntax, and some
commands to get you started. There are also some examples.";
Load("intro.book");

InitBook("ref");
Blurb()
"A full reference of all functions accessible from within Yacas.";
Load("ref.book");

InitBook("coding");
Blurb()
"This document should get you started programming in Yacas.";
Load("coding.book");


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

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

/* Export the currently built book to html in a simple form. */
/*
SelectBook("intro");
EmitHtmlSimple();
SelectBook("ref");
EmitHtmlSimple();
SelectBook("coding");
EmitHtmlSimple();
*/



