Forester markup: frontmatter [007P]
The frontmatter of a Forester tree is a sequence of declarations that we summarize below.
| Declaration | Meaning |
|---|---|
\title{...}
|
sets the title of the tree; can contain mainmatter markup |
\author{name}
|
sets the author of the tree to be the biographical tree at address name
|
\date{YYYY-MM-DD}
|
sets the creation date of the tree; full ISO 8601 date-times are supported. |
\taxon{Taxon}
|
sets the taxon of the tree; example taxa include lemma, theorem, person, reference; the latter two taxa are treated specially by Forester for tracking biographical and bibliographical trees respectively |
\def\ident[x][y]{body}
|
defines and exports from the current tree a function named \ident with two arguments; subsequently, the expression \ident{u}{v} would expand to body with the values of u,v substituted for \x,\y
|
\import{address}
|
brings the functions exported by the tree address into scope
|
\export{address}
|
brings the functions exported by the tree address into scope, and exports them from the current tree
|