Questions tagged [pdf]
is for PDF format. Emacs supports creating and viewing PDF files.
152
questions
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 ...
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 ...
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
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
┌─────┐
│ │
└─────┘ ┌────────────┐┌────────────┐
┌─────┐ │ ││ ...
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 ...
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
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 ...
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 (...
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 ...
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 /...
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:
...
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 ...
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))...
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 ...
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 ...
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))...
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 ...
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 (...
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 ...
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 ...
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 ...
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
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 ...
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-...
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 ...
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 ...
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?
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
...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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 ...
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* ...
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 ...
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
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?
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 ...
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&...
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
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 ...
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 ...
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 ...