emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Viewing PDFs as text?


From: Tassilo Horn
Subject: Re: Viewing PDFs as text?
Date: Wed, 12 Mar 2008 13:11:03 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Tassilo Horn <address@hidden> writes:

>> When trying to view a PDF with in a tty, `doc-view-initiate-display'
>> throws an error about missing support for image, png or other
>> utilities.
>>
>> Maybe it would be better to display the output of pdftotext directly
>> in a tty.  In X Window, the default behavior would be to display the
>> image when images are supported, and to fall back on pdftotext when
>> not.
>
> That would be the ideal behavior.  But looking at the code it seems
> quite hard to do, especially if you want to keep most/all of
> doc-view's features.
>
> What could be done was to open a separate buffer (in fundamental-mode)
> that displays the output of pdftotext.  I'll give that a try.

That's now in CVS.  With C-c C-t you can open a new buffer that shows
the text of the current document.  When d-v-m doesn't work this binding
will be mentioned.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]