Silex/docker.el@d5255a65b7 -> Silex/docker.el@f3adbf49e1 alphapapa/magit-todos@501c8db90a -> alphapapa/magit-todos@501c8db90a andras-simonyi/citeproc-el@cfa30b6c95 -> andras-simonyi/citeproc-el@54184baaff doomelpa/code-review@e4c34fa284 -> doomelpa/code-review@e4c34fa284 editorconfig/editorconfig-emacs@1651294334 -> editorconfig/editorconfig-emacs@648f0cf9ae emacs-citar/citar@07d2a63c99 -> emacs-citar/citar@07d2a63c99 emacs-lsp/dap-mode@b407773ebc -> emacs-lsp/dap-mode@496dd3a60f emacs-lsp/lsp-mode@5298775517 -> emacs-lsp/lsp-mode@12befaabe4 emacs-lsp/lsp-ui@00f1fecdfb -> emacs-lsp/lsp-ui@072bb29152 emacs-straight/crdt@9bf99e2ce3 -> emacs-straight/crdt@7f91efcc72 emacs-straight/eglot@8008255edd -> emacs-straight/eglot@3a5240d8fd emacs-tree-sitter/tree-sitter-langs@b2739d07fa -> emacs-tree-sitter/tree-sitter-langs@1c3d95d018 hcl-emacs/terraform-mode@a645c32a8f -> hcl-emacs/terraform-mode@abfc10f5e3 jacktasia/dumb-jump@3c2ab8dfff -> jacktasia/dumb-jump@cd65a74337 magit/forge@21d410c810 -> magit/forge@a56eb3cbb2 magit/magit@e777822720 -> magit/magit@cf94190410 nicolaisingh/saveplace-pdf-view@ee95460cd9 -> nicolaisingh/saveplace-pdf-view@70e9ec4056 purcell/envrc@2316e004c1 -> purcell/envrc@532ecdab48 tumashu/posframe@f4e9e509ba -> tumashu/posframe@493b17f74a
:tools pdf
Description unfold
This module improves support for reading and interacting with PDF files in Emacs.
It uses doom-package:pdf-tools, which is a replacement for the built-in doc-view-mode
for
PDF files. The key difference being pages are not pre-rendered, but instead
rendered on-demand and stored in memory; a much faster approach, especially for
larger PDFs.
Displaying PDF files is just one function of doom-package:pdf-tools. See its project website for details and videos.
Maintainers
This module has no dedicated maintainers. Become a maintainer?
Module flags
This module has no flags.
TODO Hacks
This module's hacks haven't been documented yet. Document them?
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module requires the epdfinfo
program. Unless you're on Windows, the
doom-package:pdf-tools plugin will (re)build this program for you, if you issue the M-x
pdf-tools-install
command. See the next section for instructions on how to
build the epdfinfo
program on Windows.
Building epdfinfo
on Windows
- Install MSYS2 and update the package database and core packages using the instructions provided.
-
Update and install dependencies, skipping any you already have:
pacman -Syu pacman -S base-devel pacman -S mingw-w64-x86_64-toolchain pacman -S mingw-w64-x86_64-zlib pacman -S mingw-w64-x86_64-libpng pacman -S mingw-w64-x86_64-poppler pacman -S mingw-w64-x86_64-imagemagick
-
Install PDF tools in Emacs, but do not try to compile the server. Instead, get a separate copy of the source somewhere else:
git clone https://github.com/politza/pdf-tools
- Open mingw64 shell (Note: You must use mingw64.exe and not msys2.exe)
-
Compile pdf-tools:
# Cask requires python2 (important: not 3!) pacman -S python2 # Make the mingw-shell aware of your python installation. Adjust the path if # Emacs is installed elsewhere! export PATH="/c/Program Files (x86)/Emacs/bin/:$PATH" # Cask needs to know where git.exe is; change this path if git is installed # elsewhere! export PATH="/c/Program Files/Git/bin:$PATH" # Install cask. Certificate errors can be ignored with (unsafe) -k option. curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python # Make sure the build process can see cask export PATH="$HOME/.cask/bin:$PATH" cd /path/to/pdf-tools make -s
- This should produce a file
server/epdfinfo.exe
. Copy this file into the$HOME/.emacs.d/.local/straight/build/pdf-tools/
. - Start Emacs.
- Open a pdf file (or run
M-x pdf-tools-install
) - Test it out:
M-x pdf-info-check-epdfinfo
TODO Usage
This module has no usage documentation yet. Write some?
TODO Configuration
This module has no configuration documentation yet. Write some?
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?