10 Oct
2019
10 Oct
'19
11:23 a.m.
Hello, this is a probably basic question, but the following code doesn't compile: ---- \setupbackgrounds[page][background={Bkg}] \defineoverlay[Bkg][\useMPgraphic{Bkg}] \startuseMPgraphic{Bkg} externalfigure "hacker.png"; \stopuseMPgraphic \starttext Ahoj \stoptext ---- with: "
picture ! Isolated expression. <to be read again> ; <*> externalfigure "hacker.png"; ; I couldn't find an `=' or `:=' after the expression that is shown above this error message, so I guess I'll just ignore it and carry on. "
I just want to insert a picture from within MP code. What am I doing wrong? Best regards, Lukas