3.8 Standard Markups -- Enumeration


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

These functions implements three various style of enumerations.

prototype
(itemize :symbol [:ident] [:class] item...)
(enumerate :symbol [:ident] [:class] item...)
(description :symbol [:ident] [:class] item...)
optionenginesdescription
:identhtml latex The node identifier.
:classhtml latex The node class.
:symbolhtml latex The symbol that prefixes the items.
argumentdescription
item...The items of the enumeration.

Items are introduce by the means of the item markup:

prototype
(item :key [:ident] [:class])
optionenginesdescription
:identhtml latex The node identifier.
:classhtml latex The node class.
:keyhtml latex The item key.
Example:
(itemize (item [A first item.])
         (item [A ,(bold "second") one:
             ,(itemize (item "One.")
                       (item "Two.")
                       (item "Three."))])
         (item [Lists can be nested. For instance that item contains a
           ,(tt "description"):
           ,(description (item :key (bold "foo")
                               [is a usual Lisp dummy identifier.])
                         (item :key (bold "bar")
                               [is another one.])
                         (item :key (list (bold "foo") (bold "bar"))
                               [A description entry may contain more than
                                one keyword.]))])
         (item [The last ,(tt "itemize") entry contains an ,(tt "enumerate"):
           ,(enumerate (item "One.") (item "Two.") (item "Three."))]))

(itemize :symbol "-"
         (item "One.")
         (item "Two.")
         (item "Three.")
         (item "Four."))
Ex. 10: The enumeration markups
Produces:
  • A first item.
  • A second one:
    • One.
    • Two.
    • Three.
  • Lists can be nested. For instance that item contains a description:
    foo
    is a usual Lisp dummy identifier.
    bar
    is another one.
    foo
    bar
    A description entry may contain more than one keyword.
  • The last itemize entry contains an enumerate:
    1. One.
    2. Two.
    3. Three.
  • One.
  • Two.
  • Three.
  • Four.

This Html page has been produced by Skribe.
Last update Mon Apr 4 14:16:37 2005.