Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
13 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
22 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
16 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
39 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
74 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
58 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
32 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.
0
votes
1answer
68 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?
0
votes
0answers
29 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
53 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
65 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
39 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=...
0
votes
0answers
37 views

Display annotation contents horizontally in pdf-tools *with* live-preview

When looking at annotations with the pdf-annot-list-annotations command from the pdf-tools package, I prefer to preview my annotation contents in a separate buffer, which is the default behavior. ...
2
votes
1answer
153 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 ...
1
vote
0answers
116 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
49 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
80 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
83 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/...
0
votes
1answer
200 views

Software to fill in a PDF document

As part of my work, I have to fill in a particular form that is provided to me. That form comes in either PDF or Word (.doc) sources. In the end, a PDF document needs to be generated. The PDF form ...
1
vote
0answers
96 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 ....
1
vote
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 ...
0
votes
1answer
271 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
413 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
155 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
255 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
101 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 ...
2
votes
0answers
217 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 ...
3
votes
0answers
343 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 ...
7
votes
2answers
1k 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
197 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
247 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
452 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
108 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
478 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
211 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
119 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
1k 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. ...
5
votes
1answer
275 views

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 ...
9
votes
2answers
169 views

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 ...
9
votes
1answer
428 views

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 ...
4
votes
0answers
97 views

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 ...
6
votes
2answers
839 views

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/...
3
votes
1answer
393 views

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?
7
votes
2answers
1k views

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 ...
1
vote
1answer
273 views

How to use the same pdf-tools install on OSX and Linux simultaneously?

Q: how can I get pdf-tools to work simultaneously on OSX and Linux? I keep my .emacs.d directory synced over Dropbox, and share it between machines running OSX and Linux (Fedora and Ubuntu). I got ...
2
votes
1answer
197 views

Search for either of two words using isearch

Is there a way to use isearch (only search i think that works in pdf-tools)? to search for either of two words at the same time? It would search in the pdf for 'eval' or 'valid' and move forward in ...
2
votes
1answer
2k views

Use PDFView as default AucTex PDF Viewer

I'd like to use PDFView mode as the default PDF reader when editing LaTeX code in AucTeX, using Emacs 24. For example, after compiling with C-c C-c, redoing this command would open the PDF file in a ...
1
vote
3answers
1k views

Making pdf-tools work after successful compiling on mac os x

After installing the required dependencies with homebrew, I was able to compile pdf-tools . But I cannot make it work (I cannot see the pdf on emacs after compiling) I would like to know if somebody ...
1
vote
0answers
126 views

Make pdf-tools do pdf-sync-forward-search after compilation

Using pdf-tools for showing pdfs in emacs is great! But when I use it, I alway have to do a (C-c C-g) i.e., pdf-sync-forward-search after compilation. How can I make emacs do this automatically? ...