Questions tagged [pdf-tools]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Emax64 trying to install already installed pdf-tools on every startup

I am using the emax64 build of Emacs for Windows x86-64 systems. However, it tries to install pdf-tools on every startup, even though it is already installed. How to turn this off? -*- mode: ...
4
votes
0answers
45 views

PDFView scroll line

I'm using <space> 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 ...
1
vote
0answers
31 views

org-download-screenshot from pdf-tools with renaming according to pdf name and pdf page

I would like to use org-download-screenshot (or some other function) in combination with pdf-tools. This works quite well out of the box. What I am missing is a enhanced renaming of the screenshot. ...
0
votes
0answers
16 views

Pressing escape twice removes all split in pdf-tools

So I use pdf-tools to view pdf inside of emacs. I am also an Evil user and I mapped Caplock to Esc key so it's easier to switch between the modes. If I have a vertical split arrangement, like this: ...
1
vote
0answers
34 views

Manually installed pdf-tools breaks package handling because it is not recognized as a dependency

The situation is: I install pdf-tools manually and load it with the following snippet: (use-package pdf-tools :pin manual :load-path "my/load/path/to/the/git/repo/lisp" :config .......
0
votes
0answers
38 views

Display zoom percentage in pdfview

Running Doom Emacs 2.0.9 running on Emacs 26.3. I use pdf-tools. When I compile a Latex document, the resultant PDF file is displayed in an adjacent window. I can zoom in, out, etc. One thing I ...
0
votes
0answers
25 views

Edit PDF page labels in pdf-tools?

Q: how can I change PDF page labels with pdf-tools? pdf-tools has the capacity to annotate PDFs, which is great. Can it also change the page labels as well? That is, not the raw page number, but the ...
0
votes
0answers
40 views

Adding bookmarks in pdf-tools

Is there a way to add and view bookmarks in pdf-tools? Or else How could I go about adding this feature? I'm not actually sure if this is even a feature of pdfs. All I know is I can do this with ...
0
votes
0answers
20 views

Change color of highlghted annotated text in pdf-view

I use pdf-tools to read pdf in emacs. You can highlight a text in the pdf and do C-c C-a h to highlight the text. In normal light mode, the text will be yellow and you can customize it via M-x ...
1
vote
0answers
22 views

Get position in a pdf-page by clicking for annoting a pdf with latex

In https://tex.stackexchange.com/a/85676/4011, it is illustrated of how to annotated a pdf by using the latex package pdfpages, loading the pdf as a background layer and then use tikz nodes to make ...
0
votes
0answers
84 views

AucTex and PDF Tools Not Working

For the past few days I have been trying to get Emacs to update and display my PDF when I press C-c C-a, once saved. I save with C-x C-s. But everything I have tried fails, including every other ...
0
votes
2answers
71 views

Easily open PDF attachments from gnus with pdf-tools?

I seem to remember that I used to be able to press RET on a PDF attachment button in a Gnus article and have it open with pdf-tools. It's not working now, when I press RET I get prompted to save the ...
0
votes
0answers
113 views

Horizontal Scrolling and pinch to zoom on PDF tools

I'm attempting to get horizontal scrolling and pinch-to-zoom working for Pdf-Tools. I'm a medical researcher who uses a lot of PDFs and have fallen in love with org-mode, now trying to move more ...
0
votes
0answers
55 views

run pdf-tools and evince simultaneously with auctex

Is it possible to run pdf-tools and evince simultaneously with auctex, with forward search? That is, if I press C-click on the latex, the forward search should jump to the corresponding pdfs in both ...
0
votes
0answers
71 views

pdf-tools view bottom of one page and top of another page simulatenously

Does pdf-tools have scrolling where I can view the bottom half of one pdf page and the top of the next page? Right now, my installation simply jumps to the next page and I cannot view two pages ...
1
vote
0answers
51 views

hand draw arrow in pdf-tools

I like using pdf-tools to annotate a pdf file. Is there a way of hand-drawing an arrow (by dragging the mouse) in pdf-tools? It would help a lot in annotating pdf files. Even a template arrow (instead ...
0
votes
1answer
50 views

auctex and pdf-tools reverse search change keybinding

Inverse search from pdf-tools to auctex uses Ctrl-click on the pdf file to go to the corresponding part of latex file. Is it possible to also assign Alt-click to do inverse search? I am using ubuntu ...
1
vote
1answer
70 views

auctex pdf-tools split buffers in separate frames

This is an extension of my previous question auctex and pdf-tools in 2 separate frames which was nicely answered by Tobias. I use auctex in one frame and pdftools in another frame. Forward and inverse ...
2
votes
1answer
99 views

auctex and pdf-tools in 2 separate frames for dual monitor setup

For auctex with pdftools it is convenient for me (eyesight problems) to have the emacs latex frame on my laptop close to my eyes, and the corresponding pdf (in pdftools) on a separate frame on the ...
5
votes
1answer
105 views

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 ...
2
votes
1answer
85 views

Make pdf-tools highlight persist after searching

Is it possible to make the highlight of searched terms persist after pressing RET? I had liked very much the behavior of zathura in this aspect. My question is : Can pdf-tools be tweaked to have the ...
3
votes
1answer
217 views

pdf-tools Emacs with auctex

I have setup Emacs pdf-tools with auctex on ubuntu and the forward and reverse search work fine. But in the forward search (latex file to corresponding position in pdf document), it is difficult to ...
1
vote
0answers
52 views

Hide empty margins in pdf

My screen is a bit small and dividing it in two vertically to see a pdf while editing it leaves a lot to be desired. However, if pdf-tools or pdf-view mode had the option to hide a % of the empty ...
1
vote
1answer
313 views

pdf-tools asking to be rebuilt when emacs is started

My init.el file includes the line (pdf-tools-install) Recently whenever I open emacs I get the message "Need to (re)build the epdfinfo program, do it now" (y or n) which is rather annoying. I can't ...
0
votes
0answers
21 views

select coding system if annotating with pdftools

so here I am happily annotating pdfs with pdftools and every now and then, the modeline pops up, urging me to select the coding system (default raw text). I already set in my init file (setq utf-...
3
votes
0answers
32 views

Page thumbnails for pdf-tools?

Q: is there an image-dired analog to make thumbnails in pdf-tools? image-dired provides facilities to browse images in a directory by thumbnail. Is there analogous functionality for pdf-tools? The ...
1
vote
0answers
60 views

How to show page number using pdf-tools in emacs mode line?

As title said, is there a way to have page number shows up in the mode line of emacs? I am not using any fancy power-line, this is stock emacs mode line.
0
votes
1answer
49 views

Jump to a string in a PDF document

I want to write a function that jumps to a given string in a pdf document. I am using pdf-tools. Naively, I thought this would work: (defun goto-string-in-pdf (pdffile) "Jump to string 999 in ...
4
votes
1answer
93 views

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 ...
1
vote
2answers
149 views

Preventing `TeX-command-run-all` from shifting focus

It seems that TeX-command-run-all shifts focus to the pdf window, which is quite annoying. Is there a way to prevent that?
1
vote
0answers
72 views

Auto-reverting only renderable PDF buffers

I'm using pdf-view mode and the global auto-revert mode with LaTeX and latexmk. This works fine, except that, a couple of times during the compilation, the PDF is in a useless state and the PDF ...
3
votes
1answer
106 views

Is it normal for a package to request [sudo] in order to install a package? (this case pdf-tools) concerned about password integrity

I installed pdf-tools through MELPA, and then labels it as installed on a restart but kept viewing pdfs through doc-view. So using M-x pdf-tools-install it requested the sudo password in order to ...
1
vote
0answers
199 views

Installing PDF-Tools Windows(non-geek tutorial)

I want to use pdf-tools to anotate pdf files using org-mode or viewing pdf outputs of my tex files which I hope it wil support syntex. I am following the official help to build for windows. I want to ...
2
votes
0answers
54 views

Pdf-tools fails to print

Using pdf-tools I attempt to print via pdf-print-misc-document though nothing gets printed? In messages I see without any errors: Print job started: /usr/bin/lpr -P myprinter -o media=a4 -o InputSlot=...
2
votes
1answer
347 views

mu4e: open PDFs with pdf-tools

I've just set up mu4e, and have noticed that when opening an attachment with the o key it will open with MuPDF. Pressing A w to open-with doesen't seem to help either, since it prompts for an external ...
2
votes
0answers
261 views

Fail to view PDF with pdf-tools

I have installed pdf-tools by melpha, and write a line in init.el file to load it. However, when I opened my pdf files I still couldn't view it and the error of "Error running timer ‘pdf-cache--...
1
vote
1answer
57 views

How can I change what happens when I click on a pdf-tools link?

I read pdfs with pdf-tools, but I think what I'm asking may apply to more than pdf-tools alone. In any case, as an example, some research paper pdfs have references with clickable links - say a link ...
1
vote
0answers
95 views

AucTeX Plain TeX view refresh

I write *TeX in emacs with AucTeX, using pdf-tools as the viewer. When I compile a LaTeX document in AucTeX with C-c C-c the viewer in the other window automatically refreshes, but this does not ...
0
votes
1answer
162 views

Problem creating an org-mode link to a pdf file from PDFView

When I try to store a link to a pdf file (opened with PDFView), I get the following error Unable to percent escape character: \342 The link is stored with the following url: Stored: file:/tmp/...
1
vote
0answers
154 views

Open some file types in new frame

I use split-frame (split-window-right in setup) for most things but would like Emacs to open some file types (specifically PDF files) in a new frame when using find-file. Other files (for example ....
2
votes
1answer
2k views

Installing pdf-tools on Windows

I am new to Emacs and I am trying to install pdf-tools on Windows. I am following this, but I just couldn't understand what to do from the step 3. Could someone explain to me in very simple language ...
1
vote
1answer
430 views

png image support and pdftools

I have pdftools install and wish to use it with auctex. However, I cannot view the pdf as I get the error: PNG image supported not compiled into Emacs Output is simply the raw pdf. I am using emacs ...
0
votes
2answers
533 views

pdf-tools-install takes a long time on startup

I've installed pdf-tools through MELPA, and it works like a charm. Funnily, and as is documented in the readme, the command pdf-tools-install needs to be run each time if you want pdf-tools to be ...
2
votes
1answer
229 views

Share pdf-tools installation between computers?

Q: how do I share a pdf-tools installation between computers? I use pdf-tools on two difference machines, and sync my .emacs.d between them via Dropbox. I have installed pdf-tools through the ...
2
votes
0answers
352 views

Auto-revert for changed pdf buffers?

Specifically in the content of exporting org->latex->pdf when using pdftools to view the resulting pdf, how can I stop emacs from asking me if I want to revert the pdf buffer and instead just auto-...
1
vote
1answer
134 views

PDFView: allow vertical scrolling till the last line becomes the top one

I would like be able to link from an org buffer to a precise place in the PDF. When such a link is clicked, the PDF would be opened in a PDFView buffer on the required page and vertically scrolled so ...
3
votes
0answers
279 views

How to set the colors for pdf-tools annotations individually?

I would like to be able to set the annotation colors to be different (e.g. strike-out "black" while keeping highlight "yellow"). I asked about this as an issue at the github page for pdftools and was ...
1
vote
1answer
41 views

In PDFView how do you automate creating errata entries?

When reading PDF documents, I frequently find typos and sometimes more serious errors. I try to keep track of those findings with the intention of sending them to the authors or publishers, but doing ...
5
votes
1answer
468 views

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 ...
11
votes
2answers
2k views

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?