Values
Several kinds of value are written as short strings with a format of their own.
Text. Unquoted YAML numbers and booleans are read as their text.
expression
Section titled “expression”An expression, written with a leading ‘=’ (=Population > 0). The ‘=’ is optional where only an expression is accepted (filter, by, variables). Numbers and booleans are literal values.
length
Section titled “length”A distance: a number of points, or a number with a unit (pt, mm, cm, in, px), a percentage, a fraction of the remaining space (fr) or auto.
12pt · 25mm · 50% · 1fr · auto
#RGB, #RGBA, #RRGGBB, #RRGGBBAA or transparent.
#1F4E79 · #00000080 · transparent
page size
Section titled “page size”A named paper size (A3, A4, A5, Letter, Legal) or an explicit “width x height” in absolute units.
A4 · Letter · 210mm x 99mm
Margins or padding, as in CSS: one length for all sides, “vertical horizontal”, “top right bottom left”, or an object with top, right, bottom and left.
10pt · 6pt 12pt · 20mm 15mm 25mm 15mm
stroke
Section titled “stroke”A border or line: width, style (solid, dashed, dotted, none) and color, in any order and each optional. Defaults to 1pt solid black; a bare number is the width.
0.5pt solid #000000 · 1pt dashed #999999 · none
sort key
Section titled “sort key”An expression to sort by, optionally followed by asc or desc: “Name”, “Population desc”.