1

When I ran mpost in a source directory, it worked fine. When I set MPINPUTS with $export MPINPUTS=./src, I saw an error

I can't find the 'plain' preload file!

I wonder if my export command somehow cleared a default path of the 'plain' preload file.

mactex 2018.0417 MetaPost, version 2.00 (TeX Live 2018) (kpathsea version 6.3.0)

  • 4
    like all tex paths you want MPINPUTS=./src: where the trailing : means add to the the default path – David Carlisle Apr 9 at 20:38
  • Thanks, it works. – Xingang Huang Apr 10 at 4:37
3

Like all tex paths you want

MPINPUTS=./src: 

where the trailing : means add to the the default path

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.