From: Hans Hagen <j.hagen@xs4all.nl>
To: "Rudd, Kevin" <kevin@lps.umd.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...
Date: Tue, 26 Jan 2021 21:41:58 +0100 [thread overview]
Message-ID: <f35930f0-c864-cc40-3cf0-f433a153b4e8@xs4all.nl> (raw)
In-Reply-To: <38703F8C-57E2-4E1C-9382-CA4E01825A94@lps.umd.edu>
On 1/26/2021 6:53 PM, Rudd, Kevin wrote:
> argh. the problem with multiple versions of lmtx....
>
> - running mtxrun --generate then mtxrun --find finds the file
> - running context with the document doesn't find the file and gives
> the same error
> . but i haven't changed my environment usepath/usesubpath file
>
> so:
>
> 20200920: mtxrun --generate .. mtxrun --find boxrow.mp works;
> context <document> works w/ or w/o putting the file in
> .../lmtx/tex/texmf-local/metapost
> 20210124: mtxrun --generate .. mtxrun --find boxrow.mp works;
> context <document> doesn't work w/ or w/o putting the file in
> .../lmtx/tex/texmf-local/metapost
This seems to work ok here, if not, can you see what the trackers report?
=== oeps.tex ===
\starttext
\usepath[mptest]
% \enabletrackers[resolvers*]
\startMPpage
% readfile(runscript("mp.string(resolvers.find_file('oeps.mp'))")) ;
% readfile(runscript("mp.string(resolvers.find_file('oeps1.mp'))")) ;
% readfile("oeps.mp") ;
% readfile("mptest/oeps1.mp") ;
% readfile("oeps1.mp") ;
input "oeps1.mp" ;
\stopMPpage
\stoptext
=== oeps.mp ===
fill fullcircle scaled 4cm ;
=== mptest/oeps.mp ===
fill fullsquare scaled 2cm withcolor red ;
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-01-26 20:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-26 12:19 Rudd, Kevin
2021-01-26 17:00 ` Hans Hagen
2021-01-26 17:32 ` Rudd, Kevin
2021-01-26 17:53 ` Rudd, Kevin
2021-01-26 20:41 ` Hans Hagen [this message]
[not found] ` <713BC966-4943-4402-9E0A-62E04AC4BFA6@lps.umd.edu>
2021-01-28 11:18 ` Hans Hagen
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=f35930f0-c864-cc40-3cf0-f433a153b4e8@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=kevin@lps.umd.edu \
--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).