An output template file consists of text with markup commands and placeholders for the program output. The text is copied into the final output. The backslash <\> character is used as an escape character, removing any special effect of the following character, so that it is treated as text. The markup commands currently have little effect, but may be useful in later versions if alternative output formats are supported. (e.g. tex, html, postscript, ...). The placeholders are replaced by the appropriate program output.
Markup commands start with the <<> character, and end with the next whitespace character. The end of the range of affected text is indicated with the <>> character.
The markup commands currently supported are:
comment
table
include
noeffect
Placeholders begin with the <{> character and end with the <}> character. The first word of the placeholder is an expression, giving the value to be included. Currently only single variables are possible, but hopefully support for arithmetic expressions will be made available in later versions. The following variables are currently available:
varsel
LL
converge
numsteps
varnum
truevarnum
varname
truevarnum cases
coeff
expcoeff
tstat
branchno
branchtop
branchbot
branchlen
tree
branchlenstd
treestd
mixnum
mixclass
mixprob
siteno
sitelike
sitepostprob
observedinformation
observedinformationinverse
After the initial expression, various modifiers are allowed, affecting
the way in which the output is formatted. The options vary, depending
on the specific output. For example, there are options controlling the
precision of numbers. For output that has only a discrete set of
possible outcomes (such as @varnum
, or @converge
) the
options can include a list of choices. This list is of the form
value:
followed by the text that should be displayed
if the value matches, terminated with the <|> character.
Markup commands and placeholders can be nested using braces (<{> and <}>).