all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kristoffer Balintona <krisbalintona@gmail.com>
To: Neal Becker <ndbecker2@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Improving DocView quality for PDFs?
Date: Sun, 13 Oct 2024 19:51:38 -0500	[thread overview]
Message-ID: <CANVbq5nUCFu=xCg0BEq+Tnr6_Xa5CDVMZBBCZ4bq=0eg9j=_rA@mail.gmail.com> (raw)
In-Reply-To: <veh7ib$r1k$1@ciao.gmane.io>

On Sun, Oct 13 2024, Neal Becker wrote:

> Kristoffer Balintona wrote:
>
>> On Mon, Oct 07 2024, Christopher Howard wrote:
>>
>>> Hi, I like viewing PDFs inside Emacs using DocView, but the quality is
>>> noticeable lower than in Evince. It looks blocky, like it needs aliasing
>>> or something. Could I improve this with some setting changes? I see some
>>> variables like Doc View Ghostscript Options but I don't know what options
>>> I need to pass in. I see some discussions about this on the Internet but
>>> they are very old discussions with unclear guidance.
>>>
>>> I am running GNU Emacs 30.0.91 (build 10, x86_64-pc-linux-gnu, GTK+
>>> Version 3.24.41, cairo version 1.18.0) of 2024-10-04.
>>
>> Hi,
>>
>> Have you given pdf-tools
>> (https://github.com/vedang/pdf-tools?tab=readme-ov-file#about-pdf-tools)
>> a go yet? If you haven't heard of it, I think this is the go-to Emacs
>> PDF viewer for many users because it is very fast and supports many
>> features that non-Emacs PDF viewers support, like making and viewing
>> annotations as well as jumping to different points in a document's
>> outline (though that requires certain metadata to be present in the
>> document).
>>
>> If you want to stick with the built-in DocView, I don't have any tips
>> there since I use pdf-tools's pdf-view-mode in place of it.
>>
>
> Interesting.  I'm also trying pdf-tools.  But how do I know if emacs is
> using it?
>

Well, the pdf-tools repository[1] details the installation procedure
well: you should call `M-x pdf-tools-install'. After that, you can open
up a PDF and its major mode should be `pdf-view-mode'.

If it isn't already in that mode but works if you directly invoke `M-x
pdf-view-mode', then it'll probably be a problem with your config.

Footnotes:
[1]  https://github.com/vedang/pdf-tools?tab=readme-ov-file#installing-pdf-tools-elisp-code

-- 
Best,
Kristoffer



  reply	other threads:[~2024-10-14  0:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07 15:52 Improving DocView quality for PDFs? Christopher Howard
2024-10-07 16:11 ` Kristoffer Balintona
2024-10-07 16:33   ` Christopher Howard
2024-10-13 19:37   ` Neal Becker
2024-10-14  0:51     ` Kristoffer Balintona [this message]
2024-10-16 18:55       ` Neal Becker
2024-10-08  2:30 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-10-14  1:02 ` Rudolf Adamkovič
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 15:52 Christopher Howard

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='CANVbq5nUCFu=xCg0BEq+Tnr6_Xa5CDVMZBBCZ4bq=0eg9j=_rA@mail.gmail.com' \
    --to=krisbalintona@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ndbecker2@gmail.com \
    /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.