ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Fabrice Couvreur <fabrice1.couvreur@gmail.com>
Subject: Re: Import a metapost extension
Date: Tue, 1 Sep 2020 16:45:47 +0200	[thread overview]
Message-ID: <64299f24-552a-5d85-5f9a-ce1a4ca14723@xs4all.nl> (raw)
In-Reply-To: <CACyK-er4ArFbe=FHQArseF2feKrmFMrUHFbyxspcUr-ywx8dBg@mail.gmail.com>

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-09-01 14:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01 11:07 Fabrice Couvreur
2020-09-01 12:25 ` Taco Hoekwater
2020-09-01 13:04   ` Fabrice Couvreur
2020-09-01 14:45     ` Hans Hagen [this message]
2020-09-01 17:12       ` Taco Hoekwater
2020-09-01 17:32         ` Wolfgang Schuster
2020-09-02 13:04           ` Fabrice Couvreur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64299f24-552a-5d85-5f9a-ce1a4ca14723@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).