When I open pdf with emacs, it got frozen. And I installed pdf-tools, open pdf, it got frozen again.
What's the underlining process when emacs open a pdf? Is there a lot of converting work? What should I do to speed it up?
- Emacs 24.4
- Ubuntu 14.04 LTS
- Intel 2.4GHz x 2
- 4G RAM.
Update:
I just found this page:
"learnt a lesson. Never open a pdf in emacs. Never even do it accidentally."
https://twitter.com/ergoemacs/status/456088661059457024
It's a sad news to me! Isn't it a great idea to view pdf using Emacs?
Update 2
I thought it was because my pdf file is too large:
5.7M, 1313 pages
So I tried a small pdf file,
402K, 66 pages
it got frozen again.
Update 3
I open pdf file using C-c C-x
from helm
, and it opens the pdf file in an external viewer: zathura. Since there is no converting process, the file opens lighting fast. (As fast as mupdf
. I guess zathura using mupdf as its back end.)
There are four points makes zathura outstanding:
- Lighting fast. (Both open and search)
- High quality display.
- Tab displays the chapter/section menu just like Adobe Reader.
- Good keyboard shortcuts support. (Actually, it uses vim-style keybinding, which make sense since there is no need to switch mode in pdf viewer.
Update 4
Screen shot for quality comparasion:
!Left: Zathura; Right: PDF in Emacs
I really got confused what Emacs uses for open PDF. (I've already removed pdf-tools)