I have installed pdf-tools by melpha, and write a line in init.el file to load it. However, when I opened my pdf files I still couldn't view it and the error of "Error running timer ‘pdf-cache--prefetch-start’: (error "PNG image supported not compiled into Emacs")". It seems that I didn't have PNG support. When I hit C-c C-c, it shifted into DocView mode. Could anyone give me some suggestions to solve this?
-
1System, emacs version? There was a similar question here emacs.stackexchange.com/questions/38946/… where OP was able to solve the problem. Also here is a related question emacs.stackexchange.com/questions/22586/doc-view-png-support– andrejCommented Mar 13, 2019 at 11:24
-
@andrej Thank you for your reply! I tried the steps in your second post, I haven't figured out what to do with the first one. By the way, I'm using terminal emacs on Mac, will it be a problem?– catfieldCommented Mar 14, 2019 at 3:53
-
Sorry! I'm not familiar with Mac. As far as I understand pdf-tools is not really working in terminal, see github.com/politza/pdf-tools/issues/260– andrejCommented Mar 14, 2019 at 12:55
Add a comment
|