3.1 Skribilo User Manual — Building documents
Contents↑ Standard Markups

3.1.1 Document

The document function defines a Skribe document.

prototype
(document [:env '()] [:keywords '()] [:ending] [:author] [:html-title] [:title] [:class "document"] [: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 document.
:html-titlehtml The title of window of the HTML browser.
:authorhtml lout latex context info The authors of the document.
:endinghtml lout latex context info An ending text.
:keywordshtml lout A list of keywords which may be plain strings or markups. The keywords will not appear in the final document but only as meta-information (e.g., using the HTML `meta' tag) if the engine used supports it.
:envhtml lout latex context A counter environment.
argumentdescription
node...The document nodes.
See also
author chapter toc
(document :title "This is a Skribilo document"
          :author (list (author :name "Foo" :email (mailto "foo@nowhere.org"))
                         (author :name "Bar" :email (mailto "bar@anywhere.org"))
                         (author :name "Gee" :email (mailto "gee@nowhere.org")))
  "A body...")
Ex. 4: The document markup

... produces:

This is a Skribilo document
Foo
foo@nowhere.org
Bar
bar@anywhere.org
Gee
gee@nowhere.org
A body...

3.1.2 Author

The author function is used to specify the authors of a Skribe document.

prototype
(author :name [:align 'center] [:photo] [:phone] [:address] [:url] [:email] [:affiliation] [:title] [:class "author"] [:ident])
optionenginesdescription
:identhtml lout latex context info xml The node identifier.
:classhtml lout latex context info xml The node class.
:namehtml lout latex context info The name of the author.
:titlehtml lout latex context info His title.
:affiliationhtml lout latex context info His affiliation.
:emailhtml lout latex context info His email.
:urlhtml lout latex context info His web page.
:addresshtml lout latex context info His address.
:phonehtml lout latex context info His phone number.
:photohtml lout latex context info His photograph.
:alignhtml lout latex context info The author item alignment.
See also
mailto ref
(author :name "Manuel Serrano"
         :affiliation "Inria Sophia-Antipolis"
         :url (ref :url "http://www.inria.fr/mimosa/Manuel.Serrano")
         :email (mailto "Manuel.Serrano@inria.fr")
         :address `("2004 route des Lucioles - BP 93"
                    "F-06902 Sophia Antipolis, Cedex"
                    "France")
         :phone "phone: (+33) 4 92 38 76 41")
Ex. 5: The author markup

... produces:

Manuel Serrano
Inria Sophia-Antipolis
2004 route des Lucioles - BP 93
F-06902 Sophia Antipolis, Cedex
France
phone: (+33) 4 92 38 76 41
Manuel.Serrano@inria.fr
http://www.inria.fr/mimosa/Manuel.Serrano
(made with skribilo)