[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use pdf-tools in Emacs.
From: |
Hongyi Zhao |
Subject: |
Re: use pdf-tools in Emacs. |
Date: |
Wed, 26 Apr 2023 10:01:24 +0800 |
On Tue, Apr 25, 2023 at 11:10 PM Rudolf Schlatte <rudi@constantly.at> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > I try to use pdf-tools [1] in Emacs, but meet the following problem:
>
> Have you tried M-x pdf-tools-install RET ?
Yes. This way works.
> That command compiles the
> helper program that pdf-tools needs to display pdfs. Also see the
> documentation of `pdf-loader-install`, which is another function
> provided by pdf-tools that I think is meant to be added to the user's
> init.el file.
In fact, I already have the following configuration in my init.el
file, but it doesn't seem to automatically compile and install
pdf-tools:
(use-package pdf-tools
;;https://github.com/jwiegley/use-package#magic-handlers
:magic ("%PDF" . pdf-view-mode)
:config
(pdf-tools-install :no-query)
;; C-h o pdf-loader-install RET
;; This function acts as a replacement for ‘pdf-tools-install’ and
;; makes Emacs load and use PDF Tools as soon as a PDF file is
;; opened, but not sooner.
;;(pdf-loader-install)
)
Regards,
Zhao
- use pdf-tools in Emacs., Hongyi Zhao, 2023/04/25
- Re: use pdf-tools in Emacs., Rudolf Schlatte, 2023/04/25
- Re: use pdf-tools in Emacs.,
Hongyi Zhao <=
- Re: use pdf-tools in Emacs., stefan-husmann, 2023/04/27
- Re: use pdf-tools in Emacs., Tassilo Horn, 2023/04/27
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/27
- Re: use pdf-tools in Emacs., Ruijie Yu, 2023/04/27
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/27
- Re: use pdf-tools in Emacs., Tassilo Horn, 2023/04/27
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/27
- Re: use pdf-tools in Emacs., Tassilo Horn, 2023/04/28
- Re: use pdf-tools in Emacs., christian de larrinaga, 2023/04/28
- Re: use pdf-tools in Emacs., Hongyi Zhao, 2023/04/28