Questions tagged [pdf-tools]
For questions about using the pdf-tools package, which provides tools for viewing and annotating pdf files in Emacs
108
questions
0
votes
1
answer
33
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 ...
0
votes
0
answers
45
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 ...
0
votes
1
answer
32
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?
0
votes
1
answer
53
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-...
0
votes
0
answers
31
views
Auctex TeX-pdf-tools-sync-view opens pdf in current frame and instead of using another frame with pdf is already open
My question is related to this old question on tex.stackexchange, but the solution which apparently worked for LyteFM does not work for me.
I've set up Auctex to use pdf-tools via
(pdf-tools-install)
...
1
vote
1
answer
78
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/...
0
votes
1
answer
29
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-...
0
votes
0
answers
32
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 ...
1
vote
1
answer
88
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 ...
0
votes
1
answer
20
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 (...
0
votes
2
answers
47
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 ...
1
vote
1
answer
33
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 ...
0
votes
1
answer
184
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 ...
1
vote
0
answers
112
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 ...
1
vote
0
answers
17
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 ...
0
votes
1
answer
54
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 ...
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 ...
0
votes
1
answer
58
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 ...
1
vote
1
answer
49
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, ...
3
votes
1
answer
110
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 ...
0
votes
1
answer
79
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 ...
1
vote
1
answer
96
views
pdf-tools: customize highlight color
How can I customize pdf-tools' default color for highlighting (from yellow to something else)?
1
vote
0
answers
38
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.
...
0
votes
1
answer
78
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))...
0
votes
0
answers
53
views
Emacs 28.1 not rendering pdfs using pdf-tools correctly
I have recently upgraded emacs to emacs 28.1 (using binaries at https://emacsformacosx.com). I am using MacOS 12.0.1. and pdf-tools version 20220522.13. When I try to view a pdf (...
1
vote
1
answer
408
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:
-*- ...
0
votes
1
answer
123
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 ...
0
votes
2
answers
308
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 ...
2
votes
0
answers
52
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 (...
0
votes
2
answers
61
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-...
1
vote
1
answer
76
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. ...
2
votes
1
answer
523
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 ...
1
vote
1
answer
57
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 ...
2
votes
0
answers
222
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 ...
0
votes
1
answer
39
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-...
1
vote
2
answers
169
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 ...
1
vote
2
answers
319
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 ...
1
vote
0
answers
148
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?
2
votes
0
answers
883
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
'((...
1
vote
0
answers
55
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!
1
vote
0
answers
103
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 ...
0
votes
0
answers
323
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 ...
0
votes
1
answer
425
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 ...
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 ...
4
votes
0
answers
129
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
0
answers
106
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.
...
1
vote
0
answers
92
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
.......
3
votes
1
answer
452
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 ...
1
vote
1
answer
506
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 ...
1
vote
0
answers
81
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 ...