index rss mastodon twitter github linkedin email
Álvaro Ramírez

Álvaro Ramírez

06 January 2019 Trying out Emacs pdf tools

Late to the party, giving pdf-tools a try.

The macOS install instructions have a prerequisite:

brew install poppler automake

Installed with:

(use-package pdf-tools
  :ensure t
  :mode ("\\.pdf\\'" . pdf-view-mode)
  (setq-default pdf-view-display-size 'fit-page)
  (setq pdf-annot-activate-created-annotations t))


ps. (pdf-tools-install) may not find libffi on macOS. Try:

          (nth 0
                (shell-command-to-string "brew --prefix"))))
         "Cellar" "libffi" "3.2.1" "lib" "pkgconfig"))