Questions tagged [pdf]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Why does adding a return value to my Python code stop it from printing?

Load up Emacs in the default modes, i.e. emacs -Q. After this, make a new .Org file with the following contents and run the Emacs Lisp code. (setq org-babel-python-command "python3") (setq ...
J. Mini's user avatar
  • 103
0 votes
0 answers
8 views

don't show images in html or local links in pdf-latex

I want to transfer folders with documents with Syncthing to the Android tablet, the documentation is made in orgmode and I export to PDF or HTML. But they don't resolve local addresses in the tablet; ...
Levo's user avatar
  • 47
0 votes
0 answers
28 views

Save LaTeX/AucTeX generated auxiliary files to a separate directory EXCEPT for the PDF file

I am using AucTex in Emacs to compile my LaTeX files. Is there a way to keep just the PDF file in the current directory and send all the other auxiliary files to a separate folder? I have set TeX-...
sm10's user avatar
  • 31
0 votes
0 answers
35 views

pdf opening issue in emacs terminal

I am a new user of emacs. I have installed emacs 27.1 in my Ubuntu 22.04. I can successfully open my ms.tex file in emacs (terminal). After that, I press the C-c C-c command and then I type my file ...
msingh's user avatar
  • 1
0 votes
1 answer
31 views

How to hide the "Contents" header in the pdf output

Every time I would export the org doc as a PDF I would get this random "Contents" tag before the table and I am not sure how to remove it. I attached below an image of what I mean There's ...
Taken's user avatar
  • 3
2 votes
1 answer
76 views

Extract pdf information from papers into org

I like to use org to take notes on PDFs. I find Zotero a bit "scattered" and too linked to the papers themselves rather than just being notes. However, manually extracting information from ...
Att Righ's user avatar
  • 745
0 votes
1 answer
73 views

org-roam: export to pdf: inline node links

I am using orgroam, because it allows me to focus on smaller steps. But, sometimes I want to export a note to pdf but inline all links to other nodes. So lets say I have a node called main that ...
Telefza's user avatar
0 votes
0 answers
54 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
  • 589
0 votes
1 answer
56 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
  • 682
0 votes
0 answers
88 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
38 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
  • 589
1 vote
1 answer
110 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
62 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,799
0 votes
0 answers
53 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
31 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
270 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
  • 589
0 votes
1 answer
79 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
  • 589
0 votes
1 answer
33 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
  • 589
1 vote
1 answer
37 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
99 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
  • 67
0 votes
0 answers
50 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
142 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
50 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
  • 311
0 votes
1 answer
97 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
  • 311
1 vote
2 answers
150 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,701
1 vote
0 answers
55 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
1 answer
162 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
76 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
  • 334
2 votes
0 answers
65 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
120 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
96 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
81 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
  • 721
1 vote
1 answer
87 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
20 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
  • 577
0 votes
0 answers
28 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
97 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
  • 99
0 votes
1 answer
308 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
  • 99
1 vote
1 answer
104 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
330 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
499 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
725 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
1 vote
2 answers
479 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
  • 682
1 vote
2 answers
58 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
56 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
1 vote
2 answers
236 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
2k 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
206 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
178 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
758 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