Error code · a mistake in the document

dt::value

A value cannot be read or is not allowed here.

What to do

Write the value the control takes, as its page shows.

The rule

A range is written lo .. hi or [lo .. hi] in a control value, and the brackets go anywhere a number does: size="[1dmm .. 2dmm] + [3dmm .. 4dmm]" adds two ranges. In a height (a top=, a let) and inside a call, a range is always in brackets. A bare lo .. hi in a control value reaches over sums, so 1dmm .. 2dmm + 3dmm is 1dmm .. 5dmm; but when a value holds two bare ranges, or one beside a bracket or a weighting, each .. binds tighter than the arithmetic. The brackets always say it plainly.

Read it in context: Values and ranges · A quoted value is a tiny expression