[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Viewing PDFs
From: |
Tassilo Horn |
Subject: |
Re: Viewing PDFs |
Date: |
Fri, 28 Oct 2011 17:29:31 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Perry Smith <pedzsan@gmail.com> writes:
Hi Perry,
> I'm running emacs 24.0.90 on a Mac 10.7.2. I open a pdf and it first
> appears as raw text. I try "doc-view-mode" and I get this stack
> (after setting debug-on-error).
>
>> locate-file-internal(nil ("/usr/bin" "/bin" "/usr/sbin" "/sbin"
>> "/Applications/Emacs.app/Contents/MacOS/libexec"
>> "/Applications/Emacs.app/Contents/MacOS/bin" "/usr/local/bin") ("") 1)
>> locate-file(nil ("/usr/bin" "/bin" "/usr/sbin" "/sbin"
>> "/Applications/Emacs.app/Contents/MacOS/libexec"
>> "/Applications/Emacs.app/Contents/MacOS/bin" "/usr/local/bin") ("") 1)
>> executable-find(nil)
>> doc-view-initiate-display()
>> doc-view-mode()
>> call-interactively(doc-view-mode t nil)
>> execute-extended-command(nil)
>> call-interactively(execute-extended-command nil nil)
It seems you've built emacs without PNG support, or ghostscript is not
on your PATH. Therefore, doc-view falls back to show you the plain text
contents of the PDF, and then it fails because
`doc-view-pdftotext-program' is also not oun your PATH.
The reason for not showing the PDF as images should be messaged, so
check your *Messages* buffer.
Bye,
Tassilo
--
(What the world needs (I think) is not
(a Lisp (with fewer parentheses))
but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf
- Viewing PDFs, Perry Smith, 2011/10/28
- Re: Viewing PDFs,
Tassilo Horn <=