[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Viewing PDFs as text?
From: |
Bastien |
Subject: |
Re: Viewing PDFs as text? |
Date: |
Tue, 11 Mar 2008 17:57:22 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
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.
What do you think?
PS: See the request below by Roland.
Roland Winkler <address@hidden> writes:
> Tassilo Horn <address@hidden> writes:
>> Roland Winkler <address@hidden> writes:
>>
>>> It would be nice if doc-view used a plain text format if emacs is
>>> running in a tty. Or am I missing something?
>>
>> No, I'll have a look if that's easy to do. Til then you can use
>>
>> ! pdftotext ? - RET
>>
>> from within dired.
>
> Of course, not all pdf files are such that pdftotext can give
> meaningful results. Figures and, say, formulas in a file generated
> with pdflatex will be screwed up. However, fairly often I need to
> use a tty. Anything that helps me along that way is greatly
> appreciated. For me, one of the big advantages of emacs is that it
> allows me to get the most out of a plain old tty.
--
Bastien
- Re: Viewing PDFs as text?,
Bastien <=