0

I just downloaded MiKTeX and started to learn Metapost. I created the text file example.mp and went to cmd with command "mpost example" and it says:

"I can't open file 'example' "

I know that it installed correctly since it also says "This is MetaPost, version 1.803 [and so on, and so on...]", and the path is correct.

  • 1
    Try mpost example.mp, perhaps? – Sean Allred Dec 18 '14 at 17:20
  • See also tex.stackexchange.com/q/107489/17423 – Sean Allred Dec 18 '14 at 17:21
  • tried, wont work either. – gog Dec 18 '14 at 17:25
  • 2
    And in cmd did you went to the correct folder? If you type dir and hit enter, can you see example.mp? Did you check the extension of example.mp (perhaps your editor added .txt)? – Ulrike Fischer Dec 18 '14 at 17:26
  • 1
    Yes it did! the file is example.mp.txt. Thanks! – gog Dec 18 '14 at 17:30
3

And in cmd did you went to the correct folder? If you type dir and hit enter, can you see example.mp? Did you check the extension of example.mp (perhaps your editor added the extension .txt)?

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.