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
9 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
1answer
20 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
41 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
43 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
34 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
37 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
36 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
46 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
69 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
60 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
47 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
132 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
27 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
98 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
19 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-...
2
votes
0answers
28 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
42 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
43 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
85 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 ...
0
votes
0answers
106 views

AUCTeX no longer using pdf-tools after using :bind and :map from use-package to define keybindings for PDFView mode

I'd like to define a Hydra for PDFView mode and bind a key for it in pdf-view-mode-map. However, it seems that if I try to bind any keys for pdf-view-mode-map using :bind and :map of use-package, ...
0
votes
0answers
37 views

How to disable text mode when open pdf in emacs?

I installed pdf-tools, but each time I open the pdf it is using the fundamental view mode (I assume it is text mode). I wonder is there a way to automatically use the pdf-view-mode? Thanks.
1
vote
2answers
113 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
56 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
73 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
115 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
45 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
239 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
188 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
53 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
88 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
121 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
128 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
1k 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
343 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
462 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
186 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
307 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
115 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
246 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 ...
4
votes
0answers
392 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 ...
9
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?
1
vote
1answer
236 views

Symbol's function definition is void: pdf-tools-install after succesfull Installation with nor error messages

I tried to install pdf-tools under emacs 24 and Ubunt 16.04, like I did it several times succesfully. But now I get the error messages: Symbol's function definition is void: pdf-tools-install PDFs ...
4
votes
1answer
264 views

Preview PDFs with helm-bibtex

I use helm-bibtex to navigate and manage my bibtex database. Each entry is linked to a PDF. I am looking for a way to see a live preview of each pdf, while scanning through my helm completion window ...
0
votes
1answer
538 views

copy/paste text use pdf-tools in emacs

when I use pdf-tools the text in it can't be copy/paste as normal I want to treat this pdf mode as a place where I get the information to use in emacs
1
vote
1answer
114 views

pdf-tools indirect buffers

I am using an indirect buffer of a pdf from a pdf-tools PDFView buffer. This works except the indirect buffer is in DocView mode, and therefore I can't use any of the pdf-tools features in that buffer....
1
vote
1answer
570 views

Error on pdf-tools installation

My emacs version is 25.2 but i got the same issues on 24.3: When i run M-x package-install-file RET pdf-tools-0.70.tar RET in emacs i get: pdf-annot.el:32:1:Error: Cannot open load file: No such file ...
2
votes
2answers
240 views

Gnome Tracker integration with emacs

I use Gnome Tracker quite a bit and am led to wonder whether there is currently any way to use Tracker from within emacs? That is to say; searching for files indexed by Tracker, within emacs (and ...
0
votes
1answer
144 views

Window's PID of the current emacs' process

I use to edit LaTeX documents with okular as pdf viewer in Ubuntu Linux. I have this code: (defun okular-forward-search () (interactive) (start-process "okular" "okular-output" "okular" ;...
1
vote
1answer
2k views

Configure org-pdfview and pdf-tools to open at page [duplicate]

I would like to have emacsclient as my default application for opening pdf-files, when openning them from within Emacs, based on a similar post emacsclient opens a file and does eval simultaneously. ...