Questions tagged [pdf]

is for PDF format. Emacs supports creating and viewing PDF files.

Filter by
Sorted by
Tagged with
46
votes
6answers
12k views

How to use an external program as the default way to open PDFs from Emacs?

When I M-x find-file a PDF, it is opened in Emacs. While this is nice, Emacs' PDF viewer lacks many features that I need and I would prefer to open PDFs in an external program instead. How can I ...
25
votes
1answer
22k views

How to use pdf-tools (pdf-view-mode) in emacs?

pdf-tools includes pdf-view-mode which offers several features not present in doc-view-mode (see end of question). Can pdf-view-mode be used as a replacement for doc-view-mode generally, or does it ...
15
votes
4answers
3k views

How to change style of hyperlinks within PDF published from org-mode document?

I'm exporting (publishing) an org-mode document to PDF, and the results look great except for the hyperlinks. They look terrible. Hyperlinks to the Web look the same, only with a pale blue outline. ...
8
votes
8answers
7k views

Install Pdf-Tools on Emacs MacOSX

Aim I would like to get PDF Tools installed on my GUI Emacs on MacOSX (version 25.0.50 installed via Homebrew on MacOSX 10.10.2) because the README says it's possible. Setup I installed poppler and ...
3
votes
1answer
997 views

Copy and Paste From PDF to Emacs as Plain Text

Here is my problem: I often copy text from a PDF (let's say one that is nicely formatted or scanned cleanly) and like to post it in an active org-mode file I have for academic research. However, ...
12
votes
1answer
4k views

How do I limit the width of a table or columns in org-mode PDF export?

I'd like to format a table with a wide column nicely in PDF export from org-mode. Ideally it would be with a wrap on that column, but I can deal with a manual character or fraction of \textwidth for ...
7
votes
1answer
3k views

Make doc-view use mupdf for pdf files

Of course I already know about https://github.com/politza/pdf-tools. I am on Emacs 24.5.1. I am not convinced that doc-view is using mudraw/mupdf for pdf files. (require 'doc-view) (print doc-view-...
15
votes
3answers
9k views

convert a text buffer to a pdf file?

How can we convert the current text buffer to a pdf file, preferably turning those headings started with * into bookmarks of the pdf file. For example, turning the Emacs integrated tutorial (shown by ...
12
votes
2answers
3k views

Emacs got frozen when open pdf file

When I open pdf with emacs, it got frozen. And I installed pdf-tools, open pdf, it got frozen again. What's the underlining process when emacs open a pdf? Is there a lot of converting work? What ...
3
votes
1answer
1k views

Exporting Org in Landscape

I have an org document I'd like to export to PDF - with several wide tables columns in it - so much so that it makes sense to export the whole document in A4 landscape to keep the orientation ...
5
votes
1answer
506 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 ...
3
votes
1answer
1k views

doc view PNG support

I'm running a fresh install of Arch Linux and if I try to view a pdf file in doc-view or pdf-view, I get the following error message: No PNG support is available, or some conversion utility for pdf ...
2
votes
2answers
258 views

Keeping track of a pdf viewer spawned via AUCTeX?

When using AUCTeX with pdflatex, one can run C-c C-c (TeX-command-master) or C-c C-v (TeX-view) to spawn a PDF viewer. I use Evince on Debian Wheezy, in case it's relevant. This might sound a ...
1
vote
2answers
147 views

Image tooltips with pdf

I want the image tooltip code also make work for pdf format, thus I added the pdf keyword to the file extension list of the original code (http://kitchingroup.cheme.cmu.edu/blog/2016/03/21/Displaying-...
1
vote
1answer
58 views

How to include headers when exporting a message as PDF?

As a follow-up to this question about exporting as PDF, I want to export a message as a PDF. One answer in that thread views the message in a browser window and I can then save as a PDF from the ...