BSD Ports

print/pdf-tools 1.1.0_11 DragonFly

Emacs support library for PDF files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
elisp, print
Package size
222.4 KiB, 1142.7 KiB installed

Description

PDF Tools is, among other things, a replacement of Emacs's DocView for PDF files. The key difference is that pages are not pre-rendered by e.g. ghostscript and stored in the file-system, but rather created on-demand and stored in memory. This rendering is performed by a special library named, for whatever reason, poppler, running inside a server program. This program is called epdfinfo and its job is to successively read requests from Emacs and produce the proper results, i.e. the PNG image of a PDF page.

Actually, displaying PDF files is just one part of PDF Tools. Since poppler can provide us with all kinds of information about a document and is also able to modify it, there is a lot more we can do with it.

In the other systems

SystemPortVersion
DragonFlyprint/pdf-tools1.1.0_11
FreeBSDprint/pdf-tools1.3.0_3
HardenedBSDprint/pdf-tools1.3.0_3
GhostBSDprint/pdf-tools1.3.0_3

Install

Binary package:

pkg install pdf-tools

From DPorts:

cd /usr/dports/print/pdf-tools && make install clean

Dependencies

Run dependencies 9

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
pdf-tools-emacs_canna-1.1.0_11, pdf-tools-emacs_devel-1.1.0_11, pdf-tools-emacs_wayland-1.1.0_11

Message after installing

Final pdf-tools setup instructions:

Add the line below to your Emacs initialization.

(load "pdf-tools-init.el")