Stefan Nedeljkovic via ntg-context schrieb am 06.06.2022 um 07:55:
Dear list,

I have 2 small questions:

1. In \setuplayout if I try to set topspace=5\measured{base} + \dimexpr2bp I get an error. How should I add these 2bp?

\setuplayout
  [topspace=\dimexpr 5\measured{base} + 2bp\relax]

2. I have an mp graphic defined in the file "graphic.mp" which has the exact same dimensions as my page. I'd like to set that graphic as a background. How do I do this?

\startreusableMPgraphic{backgroundgraphic}
    input graphic.mp;
\stopreusableMPgraphic

\defineoverlay [backgroundimage] [\reuseMPgraphic{backgroundgraphic}]

\setupbackgrounds [page] [background=backgroundimage]

Wolfgang