[NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

Hans Hagen j.hagen at xs4all.nl
Tue Jan 26 21:41:58 CET 2021


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
-----------------------------------------------------------------


More information about the ntg-context mailing list