3.3.1 Chapter
The function chapter creates new chapters.
| prototype |
(chapter :title [:number #t] [:toc #t] [:file] [:html-title] [:class "chapter"] [:ident] node...) |
| :ident | html lout latex context xml | The node identifier. |
| :class | html lout latex context xml | The node class. |
| :title | html lout latex context | The title of the chapter. |
| :html-title | html | The title of window of the HTML browser. |
| :number | html lout latex context | This argument controls the chapter number.
A value of #t means that Skribilo computes the chapter
number. A value of #f means that the chapter has no number. A
number or string specifies a number to be used in lieu of the
automatically computed number. |
| :toc | html lout latex context | This argument controls if the chapter must
be referenced in the table of contents. |
| :file | html lout latex context | 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 |
Ex. 5: The chapter markup
... produces:
| This is a simple chapter
Its body is just one sentence. |
|
3.3.2 Sections
These functions create new sections.
| prototype |
(section :title [:number #t] [:toc #t] [:file] [:class "section"] [:ident] node...) |
(subsection :title [:number #t] [:toc #t] [:file] [:class "subsection"] [:ident] node...) |
(subsubsection :title [:number #t] [:toc] [:file] [:class "subsubsection"] [:ident] node...) |
| :ident | html lout latex context xml | The node identifier. |
| :class | html lout latex context xml | The node class. |
| :title | html lout latex context | The title of the chapter. |
| :number | html lout latex context | This argument controls the chapter number.
A value of #t means that Skribilo computes the chapter
number. A value of #f means that the chapter has no number. A
number or string specifies a number to be used in lieu of the
automatically computed number. |
| :toc | html lout latex context | This argument controls if the chapter must
be referenced in the table of contents. |
| :file | html lout latex context | 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 |
3.3.3 Paragraph
The function paragraph (also aliased p) creates
paragraphs.
The function p is an alias for paragraph.
3.3.4 Blockquote
The function blockquote can be used for text
quotations. A text quotation is generally renderd as an indented block
of text.