From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Viewing PDFs
Date: Fri, 28 Oct 2011 17:29:31 +0200 [thread overview]
Message-ID: <878vo5dtic.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: BAD3FBCA-60F4-4AA3-93F2-6C57B3228C57@gmail.com
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
next prev parent reply other threads:[~2011-10-28 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 15:11 Viewing PDFs Perry Smith
2011-10-28 15:29 ` Tassilo Horn [this message]
2011-10-28 15:31 ` Perry Smith
2011-10-28 15:43 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878vo5dtic.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.