Hello World! Adding colors and fonts Structured documents Hyperlinks Compiling Scribe documents
Getting Started Syntax Standard Library Hyperlinks and References Index Bibliography Computer programs Graphical User Interfaces Customization Scribe style files Editing Scribe Programs Compiling Scribe programs Compiling Texi documents Using Bibtex databases Functions and Variables
|
In this chapter the syntax of a Scribe text is presented informally. In particular, the Scribe syntax is compared to the HTML syntax. It is also presented how Scribe source files can be processed.
In this section we show how to produce very simple electronic documents with Scribe. Suppose that we want to produce the following Web document:
Let us suppose that we want now to colorize and change the face of some words such as:
For large documents there is an obvious need of structure. Scribe documents may contain chapters, sections, subsections, itemize, ... For instance, if we want to extend our previous example to:
A Scribe document may contain links to chapters, to sections, to other Scribe documents or Web pages. The following Scribe source code illustrates these various kinds of links:
There are several ways to render a Scribe document. It can be statically compiled by the scribe compiler to various formats such as HTML, LaTeX, man and so on. It can be compiled on-demand by the mod_scribe Apache Scribe module. In this section we only present static compilation. Let us suppose a Scribe text located in a file file.scr. In order to compile to various formats one must type in:
|
scribeinfo
.