3.2 Standard Markups -- Sectioning


main page
top:Skribe User Manual
index:Index
markups:Standard Markups


Standard Markups
Markup index
3.1Document
3.2Sectioning
3.3Table of contents
3.4Ornaments
3.5Line breaks
3.6Font
3.7Justification
3.8Enumeration
3.9Frame and color
3.10Figure
3.11Image
3.12Table
3.13Footnote
3.14Characters, Strings and Symbols


Chapters
1Getting Started
2Syntax & Values
3Standard Markups
4References and Hyperlinks
5Indexes
6Bibliography
7Computer programs
8Standard Library
9Engines
10Editing Skribe Programs
11Skribe compiler
12Compiling Texi documents
13List of examples
14Table of contents

3.2.1 Chapter

The function chapter creates new chapters.

prototype
(chapter :title [:ident] [:class] [:html-title] [:file] [:toc #t] [:number #t] node...)
optionenginesdescription
:identhtml latex The node identifier.
:classhtml latex The node class.
:titlehtml latex The title of the chapter.
:html-titlehtml The title of window of the HTML browser.
:numberhtml 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.
:tochtml latex This argument controls if the chapter must be referenced in the toctable of contents.
:filehtml 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.
argumentdescription
node...The nodes of the chapter.
See also
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.

3.2.2 Sections

These functions create new sections.

prototype
(section :title [:ident] [:class] [:file] [:toc #t] [:number #t] node...)
(subsection :title [:ident] [:class] [:file] [:toc #t] [:number #t] node...)
(subsubsection :title [:ident] [:class] [:file] [:toc] [:number #t] node...)
optionenginesdescription
:identhtml latex The node identifier.
:classhtml latex The node class.
:titlehtml latex The title of the chapter.
:numberhtml 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.
:tochtml latex This argument controls if the chapter must be referenced in the toctable of contents.
:filehtml 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.
argumentdescription
node...The nodes of the section.
See also
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:

This is a simple section

Its body is just one sentence.

3.2.3 Paragraph

The function paragraph (also aliased p) creates paragraphs.

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

3.2.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 [:ident] [:class] node...)
optionenginesdescription
:identhtml latex The node identifier.
:classhtml latex The node class.
argumentdescription
node...The nodes of the quoted text.

This Html page has been produced by Skribe.
Last update Sat Dec 1 20:24:24 2007.