altmany / export_fig

A MATLAB toolbox for exporting publication quality figures
BSD 3-Clause "New" or "Revised" License
1.28k stars 368 forks source link

One-off 'pdftops not found' error after install #266

Closed wrg11 closed 5 years ago

wrg11 commented 5 years ago

This is the same problem that I reported in #183, but I'd forgotten about it. I'm raising it again because, even if it's no big deal/not easily fixed, it's probably worth warning users.

After a new install, on the first attempt to export with -eps, I got:

Error running pdftops: /bin/bash: pdftops: command not found

I think this arises from lines 148/149 of pdftops.m, but couldn't confirm because it only happens once ... so when I put some debug output in and tried again, there was no longer a problem.

altmany commented 5 years ago

Fixed