3.3 Skribilo User Manual — Sectioning
Contents↑ Standard Markups

3.3.1 Chapter

The function chapter creates new chapters.

prototype
(chapter :title [:number #t] [:toc #t] [:file] [:info-node] [:html-title] [:class "chapter"] [:ident] node...)
optionenginesdescription
:identhtml lout latex context info xml The node identifier.
:classhtml lout latex context info xml The node class.
:titlehtml lout latex context info The title of the chapter.
:html-titlehtml The title of window of the HTML browser.
:info-nodeinfo The title of the Info node (see Section about the Info engine).
:numberhtml lout latex context info 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.
:tochtml lout latex context info This argument controls if the chapter must be referenced in the table of contents.
:filehtml lout latex context info The argument must be a boolean or a string. A value of #t tells the compiler to store that chapter in a separate file; a value of #f tells the compiler to embed the chapter in the main target file. When the argument is a string, it is used as the name of the file for this chapter.
argumentdescription
node...The nodes of the chapter.
See also
document section toc
(chapter :title "This is a simple chapter" :number #f :toc #f
   
   (p [Its body is just one sentence.]))
Ex. 6: 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 :info-node :title [:number #t] [:toc #t] [:file] [:class "section"] [:ident] node...)
(subsection :info-node :title [:number #t] [:toc #t] [:file] [:class "subsection"] [:ident] node...)
(subsubsection :info-node :title [:number #t] [:toc] [:file] [:class "subsubsection"] [:ident] node...)
optionenginesdescription
:identhtml lout latex context info xml The node identifier.
:classhtml lout latex context info xml The node class.
:titlehtml lout latex context info The title of the chapter.
:info-nodeinfo The title of the Info node (see Section about the Info engine).
:numberhtml lout latex context info 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.
:tochtml lout latex context info This argument controls if the chapter must be referenced in the table of contents.
:filehtml lout latex context info The argument must be a boolean or a string. A value of #t tells the compiler to store that section in a separate file; a value of #f tells the compiler to embed the section in the main target file. When the argument is a string, it is used as the name of the file for this section.
argumentdescription
node...The nodes of the section.
See also
document chapter paragraph toc

3.3.3 Paragraph

The function paragraph (also aliased p) creates paragraphs.

prototype
(paragraph [:class] [:ident] node...)
optionenginesdescription
:identhtml lout latex context info xml The node identifier.
:classhtml lout latex context info xml The node class.
argumentdescription
node...The nodes of the paragraph.
See also
document chapter section p

The function p is an alias for paragraph.

prototype
(p :ident [:class] node...)
optionenginesdescription
:identhtml lout latex context info xml The node identifier.
:classhtml lout latex context info xml The node class.
argumentdescription
node...The nodes of the paragraph.
See also
document chapter section 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.

prototype
(blockquote [:class] [:ident] node...)
optionenginesdescription
:identhtml lout latex context info xml The node identifier.
:classhtml lout latex context info xml The node class.
argumentdescription
node...The nodes of the quoted text.
(made with skribilo)