Error code · a mistake in the document

dt::expr

A formula in quotes could not be read.

What to do

Check the formula against the language guide's expressions; the message points at the spot.

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