In article
,
Mojca Miklavec wrote:
> do you have any idea what
> exactly would have to be fixed in ConTeXt core code?
Edit mp-spec.mp and change the line
draw p withcolor ...
with
image(draw p withcolor ...)
The line is in the body of the doexternalfigure macro. Then, 'draw
externalfi
On 17-9-2011 11:32, Mojca Miklavec wrote:
Hans?
is in "too busy mode" currently .. more later (but the metafun mkiv way
is conceptually more ok so we might need to change metafun mkii)
Hans
-
On Sat, Sep 17, 2011 at 11:11, Nicola wrote:
>
> Does the following workaround work for you?
If Hans is willing to fix metafun, I would prefer to avoid workarounds.
(I don't care which syntax is used, but I would be grateful if the
same syntax worked in both mkii and mkiv.)
Since you seem to be a
In article ,
Nicola wrote:
> Does the following workaround work for you?
>
> def mydraw text t =
>def f = begingroup t endgroup enddef;
>if picture f : draw f ; fi
> enddef;
> mydraw externalfigure "abc.png" xyscaled (5cm,8cm);
This may be better:
def mydraw text t = _mydraw begingr
In article
,
Mojca Miklavec wrote:
> Dear Hans,
>
> I have problems with externalfigure inside metapost.
>
> In MKII, only
> externalfigure "something.png";
> works, while in MKIV only
> draw externalfigure "something.png";
> is accepted.
>
> Is there any chance to accept one of the
On 16.09.2011 16:00, Mojca Miklavec wrote:
Dear Hans,
I have problems with externalfigure inside metapost.
In MKII, only
externalfigure "something.png";
works, while in MKIV only
draw externalfigure "something.png";
is accepted.
Is there any chance to accept one of the syntaxes in bo
Dear Hans,
I have problems with externalfigure inside metapost.
In MKII, only
externalfigure "something.png";
works, while in MKIV only
draw externalfigure "something.png";
is accepted.
Is there any chance to accept one of the syntaxes in both flavours?
Thank you,
Mojca
Minimal exam