Creating your personal biographical tree [007K]
The first tree that you should create is a biographical tree to represent your own identity; ultimately you will link to this tree when you set the authors of other trees that you create later on. It is convenient to simply use a person’s full name to address a biographical tree. My own biographical tree is located at trees/people/jonmsterling.tree and contains the following source code:
\title{Jon Sterling}
\taxon{Person}
\meta{external}{https://www.jonmsterling.com/}
\meta{institution}{[[ucam]]}
\meta{orcid}{0000-0002-0585-5564}
\meta{position}{Associate Professor}
\p{Associate Professor in Logical Foundations and Formal Methods at University of Cambridge. Formerly a [Marie Skłodowska-Curie Postdoctoral Fellow](0061) hosted at Aarhus University by [Lars Birkedal](larsbirkedal), and before this a PhD student of [Robert Harper](robertharper).}Let’s break this code down to understand what it does.
- The declaration
\title{Jon Sterling}sets the title of the tree to my name. - The
\taxon{Person}declaration informs Forester that the tree is biographical. Not ever tree needs to have a taxon; common taxa includePerson,Theorem,Definition,Lemma, etc. You are free to use whatever you want, but some taxa are treated specially by Forester. - The subsequent
\metadeclarations attach additional information to the tree that can be used during rendering. These declarations are optional, and you are free to put whatever metadata you want. - Like in HTML, paragraphs must be wrapped in
\p{...}.
Do not hard-wrap your text, as this can have visible impact on how trees are rendered; it is recommended that you use a text editor with good support for soft-wrapping, like Visual Studio Code.
You can see that the concrete syntax of Forester’s trees looks superficially like a combination of \LaTeX and Markdown; Markdown-style links are used both for links to other trees and for links to external URLs. Forester’s concrete syntax is not fully documented, but it is less ambiguous than both \LaTeX and Markdown.