Questions tagged [pdf-tools]

For questions about using the pdf-tools package, which provides tools for viewing and annotating pdf files in Emacs

pdf-tools is available via MELPA or directly from github. It replaces the built-in docview mode for pdf files. It is currently only supported for Linux, but may work on MacOS with some effort.

The github repository linked above includes documentation. Configuration advice is also provided in this question/answer

108 questions
31
votes
1 answer

How to use pdf-tools (pdf-view-mode) in emacs?

pdf-tools includes pdf-view-mode which offers several features not present in doc-view-mode (see end of question). Can pdf-view-mode be used as a replacement for doc-view-mode generally, or does it have to be "tool" by tool? In either case, is it…
brittAnderson
  • 719
  • 1
  • 7
  • 18
18
votes
3 answers

Is there continuous scrolling and double page viewing in pdf-tools?

pdf-tools jumps from the end of one page to the next page. Is there a ways to activate some kind of smooth scrolling? Also is there a way to display a double sided layout on my screen?
user430
  • 333
  • 2
  • 12
14
votes
1 answer

pdf-tools: View multiple pages in one buffer - like evince's continous mode

pdf-tools shows by default just one page in the buffer at once. How can it be configured, that it displays multiple pages below each other just like evince does in "continuous" mode, if the zoom factor is small enough such that (parts) of multiple…
student
  • 1,007
  • 9
  • 29
12
votes
1 answer

How to let AUCTeX open PDF with pdf-tools

Some TeX/LaTeX editor has support for embedding PDF viewer, and forward/backward search support. I want to configure AUCTeX and pdf-tools to this result. I found a discussion in mailing…
stardiviner
  • 1,888
  • 26
  • 45
9
votes
2 answers

Call emacsclient from a program called by Emacs

I've run into a problem viewing pdf documentation files with AucTex. I use pdf-tools to view PDF files from within Emacs, and I've set emacsclient -n as my default pdf-viewer (via xdg-mime on Debian Linux). This works fine in most circumstances, but…
Tyler
  • 21,719
  • 1
  • 52
  • 92
9
votes
2 answers

How to print a PDF, displayed with pdf-tools, from Emacs?

I'm using PDF-Tools (https://github.com/politza/pdf-tools) to display PDFs inside Emacs. But how to print them? C-c C-p raises the question »Print with:« and I have no idea how to answer it. I'm looking for a solution to print the pdf, not the…
Keks Dose
  • 508
  • 4
  • 19
8
votes
2 answers

How do I rotate pages in pdf-tools?

Q: how do I rotate PDFs in pdf-tools? Sometimes, I want to rotate a PDF page to toggle between portrait and landscape. This comes up in two common settings: An academic article has a wide table/figure typeset 90 degrees to portrait. I've scanned a…
Dan
  • 32,584
  • 6
  • 98
  • 168
6
votes
2 answers

Make pdf-tools remember the page I was on

How to make pdftools remember the page I was on when I close a PDF document, restart Emacs and reopen the PDF? Some PDF readers after opening a document go to the last page the user was on and don't start from the beginning, I'd like Emacs to do the…
Alex
  • 197
  • 1
  • 7
5
votes
1 answer

pdf-tools auctex question with split buffers

I run auctex with the latex source on the left half buffer and corresponding pdf on the right half (using C-x 3 to split the buffer). I then split the left half buffer into 2 so as two work on different parts of the latex source file. Similarly I…
Vikram
  • 327
  • 1
  • 6
5
votes
1 answer

Select a word in a PDF by double-clicking on it (with pdf-tools)

I use pdf-tools in Emacs to view PDF documents. I would like to be able to select words (mark their region and then copy them to the kill-ring) in the PDF by double-clicking on them. Is there a function in pdf-tools or elsewhere I could use to…
StarBug
  • 479
  • 4
  • 10
5
votes
1 answer

Emacs pdf-tools writing function

Recently I am indulging in Emacs. I tried to use it as my LaTeX tool, so I installed pdf-tools. If I add (pdf-tools-install) in my init file, it will take about 2 seconds to start Emacs. So I want to write a function such that "pdf-tools-install"…
Manan Mehta
  • 179
  • 3
5
votes
0 answers

Emacs: mark contents as type image in copy to clipboard

When using pdf-tools (https://github.com/politza/pdf-tools) I'd like to be able to select and area and copy it to the clipboard as an image, so as to insert into other applications. Selecting is easy from pdf-tools, but pasting into other…
5
votes
1 answer

Is it possible to export highlighted text with pdf-tools?

When using Skim I can export any kind of pdf annotations, including highlighted text, to a file. Is it possible to do the same thing with pdf-tools in Emacs?
sbac
  • 399
  • 4
  • 13
4
votes
1 answer

error while loading shared libraries: libpoppler.so.101: cannot open shared object file: No such file or directory

Running Doom Emacs 2.0.9 on Emacs 27.1 on Manjaro KDE. When I compile a latex documents, it produces a PDF file and opens an emacs window to display it. But what is displayed is some text and not the PDF file. The *Messages* buffer carries an error…
deshmukh
  • 1,852
  • 13
  • 29
4
votes
0 answers

PDFView scroll line

I'm using to scroll down in a pdf document that does not fit completely in a frame. However, this disrupts the reading flow as I need to find again the correct line that is now repositioned to show the bottom part of the pdf. I would like to…
mikmak
  • 41
  • 2
1
2 3 4 5 6 7 8