[NTG-context] Problem inserting image within MP
context at vivaldi.net
context at vivaldi.net
Thu Oct 10 13:23:57 CEST 2019
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t.log
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191010/26502243/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t.mkiv
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191010/26502243/attachment-0001.ksh>
More information about the ntg-context
mailing list