Previously, there was a one-to-one mapping between trees and files. After discussion on the mailing list with Kristopher Brown, I have added support for defining new subtrees inline to an existing tree. The current behavior is that an inline subtree has its designated parent automatically assigned; author and date metadata is inherited (this may change in the future).
To emit (and transclude) a subtree at address xxx-NNNN, you can write the following:
\subtree[xxx-NNNN]{
\title{My title}
\p{my body}
}It is also possible to have an anonymous inline subtree, one that has no address of its own. In this case, write:
\subtree{
\title{My title}
\p{my body}
}An anonymous inline subtree will, naturally, not have its own page emitted and cannot be linked to. In the graph analysis (for computing backlinks, etc.), an anonymous inline subtree will be identified with its parent.
Inline subtrees should not be overrused; but they may make the process of daily journalling and other activities more lightweight.
One consequence of breaking the one-to-one relationship between trees and files is that commands like forester new need to actually fully evaluate the forest, whereas in the past it was possible to merely scan the file system. This is a trade-off: if your forest contains fatal errors, you cannot use forester new or related querying commands. You should never leave your forest with fatal errors long enough to notice this.
This feature is experimental and its behaviour may change. Use it at your own risk.