0

I have seen this post

Can I configure eww to use pdf-view-mode (from pdf-tools) for PDFs instead of DocView?

I just noticed that when I try to open a URL thar points to a PDF in eww, it uses DocView instead of the pdf-view-mode from pdf-tools.

How can one do that? when I open URL that points to pdf it stops.

xdg-open: unexpected option '-' Try 'xdg-open --help' for more information.

I am using tty only so I am guessing the original poster's setup is what I need?

4
  • What to you mean tty only?
    – JeanPierre
    Apr 11, 2022 at 9:39
  • I am using emacs without gui. I am not sure if emacs nox and using emacs in tty environment is the same thing so I said tty only.
    – Dick A
    Apr 11, 2022 at 9:58
  • I think you may have formed an incorrect expectation about eww's capabilities. If you are using tty only, what do you expect/hope eww will do with a PDF? Apr 11, 2022 at 10:19
  • I thought there might be some plugin that can translate pdf into text. Thanks for the heads up!
    – Dick A
    Apr 11, 2022 at 11:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.