As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [pdf]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

How to have transparency in frames, but disable transparency in PDF windows?

Basically what the title said. I like to have some transparency. (got it with following line) (add-to-list 'default-frame-alist '(alpha 95 95)) However, this makes PDF buffers also transparent, which ...
Garid's user avatar
  • 505
0 votes
1 answer
12 views

Using org-ref to download pdfs or djvu using sci-hub and libgen as fallbacks

As a continuation of my previous post, I've developed a solution that allows to download pdfs or djvu files from sci-hub or libgen as fallback options to the functions provided by org-ref. I am a ...
Ajned's user avatar
  • 642
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 ...
vpk's user avatar
  • 105
0 votes
2 answers
26 views

In Orgmode, How to export (to pdf) box-drawing characters in src-block?

I just want to export my terminal TUI app's layout in src-block. Such as following: * Heading #+begin_src text ┌─────┐ │ │ └─────┘ ┌────────────┐┌────────────┐ ┌─────┐ │ ││ ...
Garid's user avatar
  • 505
1 vote
1 answer
64 views

Associating an org-mode file link to two possible applications when opening it

I've already asked this question here but the context I proposed was maybe too restrictive. Here is what I'm looking for on a more behavioral level. I have configured org-mode to open links with the ...
Laurent Jacques's user avatar
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-...
doctorate's user avatar
  • 1,759
0 votes
0 answers
40 views

emacs unable to open PDF files in Preview: "permission denied"

This is not an emacs problem so far as I'm aware, and only occurred after I upgraded from macOS Catalina 10.15.? to 10.15.7. Any help resolving this issue is greatly appreciated. I'm using helm-bibtex ...
bashfuloctopus's user avatar
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 (...
Rafael Beirigo's user avatar
4 votes
1 answer
185 views

How to change formatting TODO in Org-mode's Latex PDF output

I want to change font of TODO/DONE in PDF output of my Org-mode. Is there any way to change font of TODO/DONE keywords (also perhaps also change colors)? UPDATE: Using dalanicolai answer below, I ...
Garid's user avatar
  • 505
0 votes
1 answer
59 views

Problem with compiling PDF with ox-groff

M-x org-groff-export-to-groff works fine (exports .groff file for the org-file) However, when I try to compile pdf from org-file with (M-x org-groff-export-to-pdf) following error show: Saving file /...
Garid's user avatar
  • 505
0 votes
1 answer
26 views

Error when including ox-groff to init file

I'm just trying to use ox-groff package as instructed in here in orgmode.org/worg. As written on the web page, I added (require 'ox-groff) to my init.el, and executed. Then following error comes up: ...
Garid's user avatar
  • 505
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 ...
pana pana's user avatar
1 vote
1 answer
69 views

mu4e how to convert msg to pdf?

I try to convert to pdf with this following code found on Emacs SE: (defun mu4e-action-save-to-pdf (msg) (let* ((date (mu4e-message-field msg :date)) (infile (mu4e~write-body-to-html msg))...
mcp's user avatar
  • 47
0 votes
0 answers
45 views

How can I change the org export title, for PDF?

When exporting org files to pdf, is it possible to make the title that shows up in the exported document different from what is in the #+title field in the org file? For example, I have an org file ...
José Eduardo Bueno's user avatar
0 votes
0 answers
80 views

doc-view rendering of pdf files

I have emacs 27.2 installed on my M1 Macbook pro. With a lot of pdfs when I first visit the file from dired, the font rendering is badly messed up -- a lot of the characters are replaced either by ...
Victor Miller's user avatar
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. ...
Rareform's user avatar
  • 197
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))...
Rareform's user avatar
  • 197
1 vote
2 answers
124 views

Change font in table in PDF exported from Org

I'm trying to export an Org table that contains the Unicode characters for moon phases (U+1F311 etc). Export to HTML works fine, but I just see blank spaces in the exported PDF. I know next to nothing ...
Phil Hudson's user avatar
  • 1,641
1 vote
0 answers
43 views

Org-mode expands org-special-block-extras incorrectly

I've been using org-special-block-extras to insert special blocks in org-mode which I then export to PDF through LaTeX, things such as margin notes or colored blocks. It used to work until recently (...
Nathan Furnal's user avatar
0 votes
0 answers
27 views

Emacs opening .pdf in frame on right

I am trying to setup emacs to open a pdf in a window on the right but (crucially) not to split the frame in half but instead to double (or increase by some other ratio) the size of the GUI Window. I ...
Lindsay's user avatar
  • 23
0 votes
1 answer
134 views

How to export org to pdf with RTL text including hebrew

I have written a short document in org and I have tried to export it to a PDF document for printing and readable formatting. I am facing some issues however since the document should include both ...
qKweint's user avatar
  • 90
0 votes
1 answer
59 views

org-mode inline latex call

I would like to add a statement only included in LaTeX export. I know I can use the #+LATEX: prefix, but what if the statement is inlined, like this? \hfill Systemübersicht \hfill This centers the ...
xeruf's user avatar
  • 294
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 (...
KiwiB0y's user avatar
  • 21
0 votes
0 answers
93 views

how can you open pdf in eww?

I have seen this post Can I configure eww to use pdf-view-mode (from pdf-tools) for PDFs instead of DocView? I just noticed that when I try to open a URL thar points to a PDF in eww, it uses DocView ...
Dick A's user avatar
  • 1
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-...
Emmanuel Goldstein's user avatar
0 votes
1 answer
62 views

How to reduce the exported pdf file size in org mode?

My org file consists of mainly images. The exported latex is ~60MB. Currently I'm using a subsequent ghostcript shell script to shrink the pdf's filesize to ~6MB. Does emacs offer some hidden ...
jjk's user avatar
  • 663
1 vote
1 answer
77 views

PDF appears very dark when viewed in DocView on MacOS

When I view PDFs in Emacs using DocView, they appear much darker than they should: I am not sure why this happens -- I haven't changed any settings related to DocView or enabled any minor modes that ...
Ajay Tatachar's user avatar
0 votes
1 answer
19 views

How can I get the filename of the most recently modified PDF file in my temp directory?

I'd just like to get the filename of the most recently modified PDF file in my /tmp/ directory, using elisp. Is there a function for that?
Jonathan's user avatar
  • 547
0 votes
0 answers
27 views

Making org to beamer example work [duplicate]

Tried running the example in here: #+TITLE: Example Presentation #+AUTHOR: Carsten Dominik #+OPTIONS: H:2 toc:t num:t #+LATEX_CLASS: beamer #+LATEX_CLASS_OPTIONS: [presentation] #+BEAMER_THEME: Madrid ...
J...S's user avatar
  • 101
0 votes
0 answers
92 views

Broken links in Org mode

I'm stuck with a broken link problem. I installed Manjaro Linux and Emacs 27.2. I use org mode for my every day planning at work. I have a lot of internal links to open PDF, ODT, PNG files, etc. Since ...
XunilMC's user avatar
  • 11
0 votes
1 answer
28 views

Avoid `\begin{center}` environment when including external PDF image

By default a code such as this in org-mode [[foo.pdf]] will produce the following code in the exported .tex document \begin{center} \includegraphics[width=.9\linewidth]{foo.pdf} \end{center} How can ...
Daniel's user avatar
  • 89
0 votes
1 answer
234 views

Using `:scale` with org-mode's image links and include first and last page of pdf in latex export

I'm trying to include the first and last page of a PDF document in a new PDF document that I create via org-mode's Latex export engine. With this I have two issues: I would like to include the first ...
Daniel's user avatar
  • 89
1 vote
1 answer
75 views

How do I Include plain text file org-mode as is for LaTeX export?

I'm using #+INCLUDE: "./file.txt" to organize documents but including files this way is messing with linefeeds on org-mode export to LaTeX/Pdf. Is there a property or attribute that could ...
David Borges's user avatar
0 votes
1 answer
259 views

Emacs Org mode export to PDF headines become bold

Good day! New emacs user here. I am writing a contract in org mode and exporting it to PDF (assume that currently no latex plugins or settings are applied(in my org file heading) to the document as ...
Arvydas's user avatar
  • 35
0 votes
0 answers
351 views

How to correctly export to pdf org-roam files

I have three files A, B and C. A is a table of contents with links to B and C that have various information, the problem is I want to export a pdf with the content of A, B and C together but org-latex-...
leontres's user avatar
2 votes
1 answer
524 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
  • 346
0 votes
2 answers
388 views

How to export a gantt chart in pdf or png format using taskjuggler and/or org-mode

I managed to get taskjuggler up and running along emacs/org-mode. After reading the manual entries here and here I can export my project into html but I cannot export the Gantt chart into pdf, as ...
Ajned's user avatar
  • 642
1 vote
1 answer
47 views

Looking to name pdf files with a string different to bibkey

I recently started to incorporate Emacs as part of my workflow. Specifically, I am looking forward to a system that allows me to maintain and manage my bibliography. For this purpose I am now using ...
agarbuno's user avatar
0 votes
0 answers
54 views

Export Org-Mode tree just as is to PDF/HTML

Say if I have a org-mode document with org-indent-mode enabled. The document will look like the following in the Emacs buffer. Is it possible to export this to a PDF or HTML that looks exactly the ...
user12986714's user avatar
0 votes
1 answer
194 views

Select coding system when opening PDF files

I am facing an issue when opening PDF files in Emacs. I always get prompted for "Selecting the encoding system (default raw-text)". The prompt comes up twice. The content of the *Warning* ...
Swarnendu Biswas's user avatar
1 vote
1 answer
1k views

`doc-view-mode` for PDFs not working

For some reason I cannot view PDF files in doc-view-mode. Supposedly if I open a PDF file in Emacs, it should automatically open in the doc-view major mode. If it can't be opened in doc-view, then ...
Thain's user avatar
  • 11
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 ...
Roy Tancredi's user avatar
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?
Legion's user avatar
  • 31
3 votes
1 answer
595 views

Is there some way to view the HTML part of an email in an external browser or as a PDF in notmuch?

I have just started using notmuch for email. I was wondering if there is some way I can view the HTML part of an email in an external browser or rendered to a pdf and viewed inside Emacs (like you can ...
ajallooe's user avatar
  • 103
3 votes
0 answers
151 views

The export of external links in org files to pdf and html files

I have a problem with the export of external links in org files to pdf and html files. Let's say I have the two org files in the same directory: file1.org = here is the label of file1: <<label&...
rl1's user avatar
  • 346
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 '((...
InfiniteLooper's user avatar
1 vote
1 answer
417 views

How to use Emacs Application Framework as Default PDF viewer?

I recently discovered the Emacs Application Framework, which works quite nice for me. The only thing that's bothering me is, that I need to explicitly call eaf-open on a file, to open it with the ...
Määäxx's user avatar
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 ...
strange's user avatar
  • 71
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,842
2 votes
0 answers
209 views

Directly transfer underlined phrases from pdf to org-mode?

I'm learning emacs (on spacemacs) and focusing on orgmode. Is there a way to transfer what you underline in a pdf (like in skim) directly as text in orgmode. In other words, when you underline a ...
L S's user avatar
  • 31