12. Skribilo User Manual — Standard Library
This section describes Skribilo's standard library.
include is particularily useful to spread a
long document amongst several files.
fileThe file containing the nodes to be included. These nodes are included in the document in place of the include call.
The given file is searched in the current document path.
Skribilo provides functions to deal with paths. These functions are related to the path that can be specified on the command line, when the Skribilo compiler is invoked (see Chapter compiler.)
*document-path* is a procedure as returned by SRFI-39 make-parameter. As such, (*document-path*) returns the current document path, while (*document-path* '("." "/some/path")) changes the value of the current path. This is equivalent to Skribe's skribe-path and skribe-path-set! functions. The value of *document-path* can also be changed using the -I command-line option of the compiler (see Chapter 14 for details).
For instance, the following piece of code:
produces the following output
skribilo-configprogram, as described in Section 15.