[NTG-context] Import a metapost extension

Hans Hagen j.hagen at xs4all.nl
Tue Sep 1 16:45:47 CEST 2020


On 9/1/2020 3:04 PM, Fabrice Couvreur wrote:
> Hi Taco,
> Thank you for your help. I specify that this extension works perfectly 
> by compiling the following file.
> 
> input mp-scratch;
> 
> Scratchversion:=3;
> 
> beginfig(1);
>    draw Drapeau;
>    draw Repeter("4");
>    draw Avancer("100");
>    draw Tournerd("90");
>    draw FinBlocRepeter;
>    endfig;
> end
> 
> 
> But what you are proposing unfortunately does not work.
what if you add a suffix:

   input "mp-scratch.mp" ;

maybe the path you look for is not part of the search path either

    mtxrun --expand-path MPINPUTS

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list