Skip to main content

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
0 answers
25 views

Includepdf makes extra empty page

I have a simple Emacs code to merge a PDF file called "order" at the end of document, but the result has extra empty page with author info at the top. the code is: #+LATEX_HEADER: \...
yamos's user avatar
  • 1
0 votes
1 answer
131 views

Problems Installing pdf-tools on MacOs - ARM64

I have problems getting pdf-tools to run on Emacs (from railwaycat) on MacOs - ARM64 i.e. on Apple Silicon. GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6) of ...
Oliver Oppitz's user avatar
0 votes
0 answers
57 views

Adding Text Annotation In PDF-Tools Does Not Work

I am unable to add text annotations to PDF files when using PDF-Tools. I can place the text annotation icon within the PDF document, but when I click on it to add text annotations a buffer opens up ...
lloowen's user avatar
0 votes
1 answer
54 views

How can I attach a PDF in gnus, when I have the PDF attached with org-attach and I view it with PDFView?

The PDF is attached like so: ***** Model :ATTACH: :PROPERTIES: :ID: f1e5fc57-b85d-4a2c-b064-32523dd11901 :ORG_ATTACH_FILES: patience.RWaR....
Jason Hunter's user avatar
0 votes
0 answers
59 views

install pdf-tools without sudo

I have installed (a working version of (doom)) Emacs on a remote linux cluster (via conda) for which I do not have sudo access, my question is: how can I install pdf-tools? Thanks Assume I can install ...
georg's user avatar
  • 137
0 votes
1 answer
144 views

Link to pdf file using org-pdftools not working

I am using the following format in my org file [[pdf:file_path.pdf][description]] to link to the file_path.pdf file. When I click on the link I expect the pdf file to open. Instead, I get a dialog box ...
vpk's user avatar
  • 115
1 vote
0 answers
147 views

Problems enabling pdf-tools continuous-scroll with quelpa

My goal is to use org-pdftools as described in this blogpost. I started by trying to make pdf-tools work with continuous scrolling, but I'm running into various problems. It is getting way complicated ...
vpk's user avatar
  • 115
0 votes
1 answer
43 views

How to toggle binary / reader

M-x TeX-view opens the binary of the generated pdf. I'm looking for the output. I used to know how to toggle between the two but I forgot. What is it?
user avatar
0 votes
1 answer
109 views

How do I unbind the SPC key from a pdf-viewer window and use evil leader key instead?

How can I unbind the SPC keybinding from a pdf-view-mode window and use the evil leader key instead? This is what I have currently: (use-package pdf-tools :ensure t :config (pdf-tools-...
HitoriJanai's user avatar
1 vote
1 answer
283 views

pdf-tools: could not determine link -lib interface

While trying to install pdf-tools on doom emacs (28.2) on Termux android, I get this error: -*- mode: compilation; default-directory: "~/.emacs.d/.local/straight/build-28.2/pdf-tools/build/server/...
Abel 's user avatar
  • 13
0 votes
1 answer
85 views

debugging helm-bibtex cannot open PDF with the default emacs viewer

I cannot get helm-bibtex open pdfs from the helm-bibtex buffer with all bibliography nicely listed in an organized view showing which reference has a pdf or not. I usually get this view by M-x helm-...
doctorate's user avatar
  • 1,839
1 vote
0 answers
65 views

Disable search-as-you-type in Doom Emacs

Is there a way to disable "search as you type" functionality in Doom Emacs? Either with the Vim equivalent of / or through I-search C-s. With large documents, that functionality causes Emacs ...
Sati's user avatar
  • 815
1 vote
1 answer
163 views

How to input in pdf forms with pdf-tools?

I'm able to click a pdf form's field, input into the minibuffer and finish with C-c C-c yet I don't see that input in the pdf after doing nor after saving and re-opening the pdf. Am I missing ...
jjk's user avatar
  • 746
0 votes
1 answer
45 views

How to prevent pdf-view from rounding highlight borders?

When I highlight text in a PDF file in Emacs¹ using PDFView² the borders of the highlighed text are rounded: Is it possible to get straight borders, like in masterpdfeditor³?: Notes GNU Emacs 28.2 (...
Rafael Beirigo's user avatar
0 votes
2 answers
87 views

Open pdf of citation in auctex

One can currently open a pdf of a citation in a latex document via the following steps: open a latex document in emacs with installed packages auctex, reftex, ivy-bibtex, and pdf-tools move cursor ...
HRSE's user avatar
  • 123
1 vote
1 answer
45 views

Would it be possible to use different note symbols with pdf-tools?

When annotating a pdf in pdfview with the pdf-tools capabilities, I noticed that the symbols I can use are the same symbols evince uses. Can I use different custom symbols on i.e. text notes and if so ...
pana pana's user avatar
0 votes
1 answer
651 views

How can I get horizontal scrolling in PDFview to work?

Problem description: I am working on a small notebook and often find myself reading pdf's on half the screen, which is even smaller. Sometimes I would like to be able to zoom into a pdf a tiny bit ...
pana pana's user avatar
1 vote
0 answers
126 views

Unable to achieve advertised "word-level" accuracy using SyncTeX with PDF Tools

From the AucTeX Changelog (v. 11.89): To open the PDF output file you can now also use PDF Tools, a document viewer for Emacs. With it, as a plus, forward and backward search is accurate at word ...
StackExchanger's user avatar
1 vote
0 answers
20 views

The arrow in the PDF-Tools viewer disappears too quickly when using the 'pdf-sync-forward-search' command in a LaTeX document

Occasionally the arrow does persist long enough to see it in the PDF output, but usually it flashes by too quickly to even detect it. Any thoughts on how to troubleshoot this? It took me several hours ...
StackExchanger's user avatar
0 votes
1 answer
212 views

Windows pdf-tools-install no such program: autoreconf

I'm trying to install pdf-tools on my Windows System, I'm using the same config as for Arch Linux where this error is fixed by installing the arch linux pdf-tools package via pacman. Obviously this is ...
Martin Stuwe's user avatar
0 votes
0 answers
28 views

Exporting pdf links at specific page in LaTeX

In my org document: [[pdf:~/path/to/my/document.pdf::102][quote]] In my LaTeX export I get: \href{file:///path/to/my/document.pdf}{quote} How can I fix this? Edit: A fix should correctly expand ...
Abel's user avatar
  • 1
0 votes
1 answer
147 views

How to associate pdf file extension with pdf-tools?

I'm using GNU/Guix as my operating system and have had pdf-tools installed for several years. During that time whenever I opened a PDF file (e.g. by clicking on an org-mode link or selecting one with ...
wdkrnls's user avatar
  • 3,727
1 vote
1 answer
114 views

Bookmark Plus and pdf-tools/pdf-view error

I've installed Bookmarks+ from quelpa recently, and everything was working fine until I made a minor tweak with my pdf-tools config. Now I cannot jump to bookmarks of .pdf files from any buffer, ...
nonreligious's user avatar
3 votes
1 answer
219 views

pdf-tools latex annotations render in pdf

I use pdf-tools as my PDF viewer and for annotations. when I add a LaTeX annotation (eg., C-c C-a t, then add $$\frac{1}{3}$$, C-c C-c) it renders perfectly fine in the popup window. But is there a ...
Loreno Heer's user avatar
0 votes
1 answer
154 views

pdf-tools: set a number of colors readily available for highlighting

When reading a pdf file, I use different colors for highlighting; for example to distinguish different ideas. Is it possible to have a number of colors readily available when using pdf-tools. That is ...
user25482's user avatar
1 vote
1 answer
261 views

pdf-tools: customize highlight color

How can I customize pdf-tools' default color for highlighting (from yellow to something else)?
user25482's user avatar
1 vote
0 answers
54 views

org-pdftools-open doesn't work for opening pdf links in org mode

Motivated by the question Symbol’s function definition is void: org-pdfview-open, pdf-tools are not working I would like to be able to open pdf-links in org-mode, which worked fine until a while ago. ...
Rareform's user avatar
  • 231
0 votes
1 answer
130 views

Symbol’s function definition is void: org-pdfview-open, pdf-tools are not working

since some time I have encountered a problem with opening pdf links with pdf-tools. I am using doom-emacs and have just the line (add-to-list 'org-file-apps '("\\.pdf\\'" . org-pdfview-open))...
Rareform's user avatar
  • 231
1 vote
1 answer
611 views

Unable to install epdfinfo on Emacs 28.1

Running Doom Emacs 3.0.0-alpha on Emacs 28.1 on Manajaro with all the latest updates installed. When I M-x pdf-tools-install RET it fails to compile. The following is the output of the command: -*- ...
deshmukh's user avatar
  • 1,912
0 votes
1 answer
317 views

How to enable a minor mode immediately after a buffer is open?

I have been using a pdf-tools fork with a image-roll.el support, this fork and file make it possible to scroll continuously from the end of a page to the beginning of the other without jumping from ...
user38135's user avatar
0 votes
2 answers
799 views

Tell AUCTeX to open .PDFs with pdf-tools

I am trying to set pdf-tools as my default pdf viewer when using AUCTeX. I found some guidance elsewhere on StackExchange but it doesn't get me to a solution. As per the thread highlighted, I have the ...
Lindsay's user avatar
  • 37
2 votes
0 answers
81 views

Emacs sometimes freezes from PDFs

I'm currently using Emacs 27.1 running on Ubuntu 21.10. The problem I have is Emacs stop responding from time to time, but this only occurs when I open a PDF file or while I'm reading PDF books (...
KiwiB0y's user avatar
  • 21
0 votes
2 answers
145 views

org-store-link: how to make docview default PDF link

Whenever I use org-store-link and org-insert-link for PDFs, it stores the link as file: type. This will open the link as an external PDF file with my OS PDF viewer. Is there a way to set up org-store-...
Emmanuel Goldstein's user avatar
1 vote
1 answer
108 views

How to know whether a local keybinding map exists (for a given package) and its name

I was wondering if we can know whether a given package has a local map of keybindings. For example, I'd like to bind the function pdf-occur of the pdf-tools package by using the use-package macro. ...
Daniel's user avatar
  • 99
2 votes
1 answer
1k views

org-link to the exact page-position in a pdf file

Newest EDIT I think my question wasn't very clear, so I'm trying to put some details. With pdf-tools opening pdf files withing Emacs (PDFview buffers) works great. What I like is to get an org-link ...
rl1's user avatar
  • 356
1 vote
1 answer
74 views

reftex select buffer

I use auctex/reftex with pdftools for preview. I use a vertical split C-x 3 of the emacs frame with the left buffer being the pdf preview and the right buffer being the latex file. When I invoke ...
Vikram's user avatar
  • 337
2 votes
0 answers
284 views

Keep original colors in pdf-view-midnight-minor-mode?

Q: can I keep the original colors for plots and photos in pdf-view-midnight-minor-mode? pdf-view's midnight minor mode allows me to change the foreground and background colors of a PDF document to ...
Dan's user avatar
  • 33.2k
0 votes
1 answer
61 views

orgmode sync beamer with header in orgmode file

I am creating my beamer presentations with orgmode and convert the file to tex and pdf when saving. This works quite fine. What I am looking for is that the pdf (seen inside emacs with pdfview/pdf-...
Fabian's user avatar
  • 65
1 vote
2 answers
247 views

pdf-view-mode - pdfs documents are blinking/flickering on scroll

I have small problem with pdf-tools - documents in pdf-view-mode are flickering/blinking on scroll. I am not well oriented about rendering, refreshing and all this stuff with pdfs. This is not about ...
Roy Tancredi's user avatar
1 vote
2 answers
391 views

Pdf-tools: Toggle between viewing and editing mode

In DocView (without pdf-tools installed) I could hit C-c C-c to toggle between viewing-mode and editing-mode. After installing pdf-tools I expected C-c C-c to act the same. But now it toggles between ...
Andreas Matthias's user avatar
1 vote
0 answers
205 views

How to edit a documents outline in pdf-tools?

By pressing o you can open the outline for the pdf document. Is there any way you can also add new sections with the corresponding pages to this outline?
Legion's user avatar
  • 31
2 votes
0 answers
1k views

Open PDF files with pdf-tools does not work

I want to use pdf-tools to read my pdf with emacs. I am on Emacs 27.1 with spacemacs 0.300.x. I have pdf-tools as a package in my .spacemac file and also require '(TeX-view-program-selection '((...
InfiniteLooper's user avatar
1 vote
0 answers
81 views

Highlight text without call commands in pdf-tools

Can I enter some 'highlight-mode' in pdf-tools that I can select and highlight text immediately without calling pdf-annot-add-highlight-markup-annotation or C-c C-a h? Thanks!
Saddle Point's user avatar
1 vote
0 answers
142 views

How to set the frame for opening pdf in org mode?

I have two links in my org buffer: [file://tmp/foo.pdf] [file://tmp/bar.pdf] Hitting enter on [file://tmp/foo.pdf] opens the pdf in the same frame (using pdf-tools / ..Running /usr/bin/xdg-open..). I ...
jjk's user avatar
  • 746
0 votes
0 answers
419 views

Poor display quality with pdf-tools after system update

I am using manjaro operating system. After the last system update I noticed a somewhat annoying thing when viewing pdf files in emacs with pdf-tools. The rendering quality become poor and the image ...
Hafid Boukhoulda's user avatar
0 votes
1 answer
682 views

Fit window to pdf upon loading

Question: I'm running auctex and pdf-tools to view pdf's within emacs. My problem is that I'd like to scale the pdf's buffer window horizontally after running C-c C-c. So far, I've created a hook to ...
strange's user avatar
  • 81
4 votes
1 answer
3k views

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 ...
deshmukh's user avatar
  • 1,912
4 votes
0 answers
157 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 ...
mikmak's user avatar
  • 41
1 vote
0 answers
127 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. ...
Fabian's user avatar
  • 65
1 vote
0 answers
108 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 .......
Public Image Ltd.'s user avatar