The function chapter creates new chapters.
| prototype |
(chapter :title [:ident] [:class "chapter"] [:html-title] [:file] [:toc #t] [:number #t] node...) |
| ident | html latex xml | The node identifier. |
| class | html latex xml | The node class. |
| title | html latex | The title of the chapter. |
| html-title | html | The title of window of the HTML browser. |
| number | html latex | This argument controls the chapter number.
A value of #t means that the Skribe compiler computes the chapter
number. A value of #f means that the chapter has no number. |
| toc | html latex | This argument controls if the chapter must
be referenced in the table of contents. |
| file | html latex | The argument must be a boolean. A value of
#t tells the Skribe compiler to compile that chapter in a separate
file. A value of #f tells the Skribe compiler to embed the chapter
in the main target file. |
node... | The nodes of the chapter. |
document section toc |
Example:
(chapter :title "This is a simple chapter" :number #f :toc #f [
Its body is just one sentence.])
|
|
Ex. 3: The chapter markup
Produces:
| This is a simple chapter
Its body is just one sentence. |
|
These functions create new sections.
| prototype |
(section :title [:ident] [:class "section"] [:file] [:toc #t] [:number #t] node...) |
(subsection :title [:ident] [:class "subsection"] [:file] [:toc #t] [:number #t] node...) |
(subsubsection :title [:ident] [:class "subsubsection"] [:file] [:toc] [:number #t] node...) |
| ident | html latex xml | The node identifier. |
| class | html latex xml | The node class. |
| title | html latex | The title of the chapter. |
| number | html latex | This argument controls the chapter number.
A value of #t means that the Skribe compiler computes the chapter
number. A value of #f means that the chapter has no number. |
| toc | html latex | This argument controls if the chapter must
be referenced in the table of contents. |
| file | html latex | The argument must be a boolean. A value of
#t tells the Skribe compiler to compile that section in a separate
file. A value of #f tells the Skribe compiler to embed the chapter
in the main target file. |
node... | The nodes of the section. |
document chapter paragraph toc |
Example:
(section :title "This is a simple section" :number #f :toc #f [
Its body is just one sentence.])
|
|
Ex. 4: The chapter markup
Produces:
|
Its body is just one sentence.
|
|
The function paragraph (also aliased p) creates
paragraphs.
The function p is an alias for paragraph.
The function blockquote can be used for text
quotations. A text quotation is generally renderd as an indented block
of text.
| prototype |
(blockquote [:ident] [:class] node...) |
| ident | html latex xml | The node identifier. |
| class | html latex xml | The node class. |
node... | The nodes of the quoted text. |