Skip to main content

Questions tagged [pdf]

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

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

Can identical example and source blocks be made to look different in a PDF export?

I use both #+begin_src and #+begin_example blocks in my org-mode markup that gets exported to PDF. If I put identical text in to these blocks, then they look identical in the PDF export. Is there any ...
J. Mini's user avatar
  • 121
1 vote
1 answer
38 views

How can I return/print all of my code's results with the code in Org-Mode?

Suppose that I type the following code in to a REPL. (+ 1 2) (+ 1 3) At the end, my REPL looks like * (+ 1 2) 3 * (+ 1 3) 4 I want the same when exporting org-mode to PDF, but I don't get it. This ...
J. Mini's user avatar
  • 121
0 votes
0 answers
80 views

Interacting with Okular (backward search)

I use Auctex to edit my LaTeX files. I've configured Auctex to use Okular as my PDF viewer, and I've configured Okular to use Emacs (emacsclient) as its editor. When I compile a source file with C-c C-...
gboffi's user avatar
  • 614
1 vote
2 answers
120 views

Create table with circles around words and hiding some of the grid lines in Emacs Org-mode

I am new to Emacs. Is there any way to create a table in Org mode like in the example table below. Particularly I'd need to be able to circle some of the words and hide some of the grid lines. The end ...
Tiberius's user avatar
  • 113
0 votes
1 answer
86 views

How to use Sioyek as the default pdf viewer in spacemacs

I want to be able to link to pdf files in spacemacs and open them with Sioyek. This post: https://github.com/ahrm/sioyek/discussions/347 seems to almost solve my issue but I have no idea where to put ...
Safri's user avatar
  • 1
0 votes
1 answer
61 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
  • 121
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
50 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
46 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
68 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
152 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
  • 775
0 votes
1 answer
167 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
87 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
  • 686
0 votes
1 answer
136 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
  • 764
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
2 answers
58 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
  • 686
1 vote
1 answer
159 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
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,829
0 votes
0 answers
61 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
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
4 votes
1 answer
350 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
  • 686
0 votes
1 answer
101 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
  • 686
0 votes
1 answer
57 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
  • 686
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
1 vote
1 answer
139 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
52 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
212 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
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
129 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
2 answers
238 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,798
1 vote
0 answers
78 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
202 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
94 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
  • 354
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
0 answers
152 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
144 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
95 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
  • 746
1 vote
1 answer
99 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
  • 597
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
104 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
31 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
396 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
162 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
414 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
598 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
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
2 answers
588 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
  • 764
1 vote
2 answers
65 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
62 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