Pragma's (Placeholders)

Values & results from the current loaddata

The values from the current loaddata and their results can be embedded in document pages. A value is read out with a so-called “Pragma “. A pragma is an instruction enclosed by double tilde symbols (”~~”).

The values are arranged in sources. Each source has different properties/ (values) which can be read out. To read a provided value, specify the source followed by a point and the property name:

Source code

~~source.property~~

The values provide either text or number values. Values that provide number values can be formatted in the output. If a number formatting is desired, the Format string are additionally specified as parameter in parentheses and quotes:

Source code

~~source.property~~              //automatically, incl. units
~~source.property("#.000")~~     //with formatting without unit
~~source.property("#.000 mm²")~~ //with formatting and unit you want

Sources and properties

Note

Please note that numerical values are output according to the ISO standard, i.e. the decimal point is actually a point! The so called notation with “comma” as decimal point is not used here.