Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [pdf]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
69 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 ...
user avatar
  • 90
0 votes
1 answer
29 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 ...
user avatar
  • 224
2 votes
0 answers
30 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 (...
user avatar
  • 21
0 votes
0 answers
20 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 ...
user avatar
  • 1
0 votes
2 answers
34 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-...
user avatar
0 votes
1 answer
33 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 ...
user avatar
  • 607
1 vote
1 answer
62 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 ...
user avatar
0 votes
0 answers
31 views

How to dynamically display the latex pdf page size in org mode before export?

I'm restrained to submit a pdf containing maximal 1 page. Is there a e.g. mode which dynamically displays the exported pdf's page count?
user avatar
  • 607
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?
user avatar
  • 485
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 ...
user avatar
  • 101
0 votes
0 answers
77 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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 59
0 votes
1 answer
64 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 ...
user avatar
  • 59
1 vote
1 answer
43 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 ...
user avatar
0 votes
1 answer
124 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 ...
user avatar
  • 25
0 votes
0 answers
109 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-...
user avatar
2 votes
1 answer
210 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 ...
user avatar
  • 316
0 votes
2 answers
192 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 ...
user avatar
  • 546
1 vote
1 answer
36 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
0 votes
1 answer
112 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* ...
user avatar
0 votes
1 answer
698 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 ...
user avatar
  • 1
1 vote
1 answer
73 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 ...
user avatar
1 vote
0 answers
80 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?
user avatar
  • 31
3 votes
1 answer
305 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 ...
user avatar
3 votes
0 answers
136 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&...
user avatar
  • 316
2 votes
0 answers
519 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 '((...
user avatar
1 vote
1 answer
300 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 ...
user avatar
0 votes
0 answers
202 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 window horizontally after running C-c C-c. So far, I've created a hook to execute ...
user avatar
  • 61
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 ...
user avatar
  • 1,668
2 votes
0 answers
137 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 ...
user avatar
  • 21
0 votes
0 answers
57 views

LaTeX pstricks pdf compilation without any specific configuration

I changed the auctex style file pstricks.el (from lines 779-784) (TeX-add-style-hook "pstricks" (lambda () (unless (or (member "pst-pdf" TeX-active-styles) (eq TeX-engine ...
user avatar
  • 1,680
1 vote
1 answer
35 views

difference between properties and tags in the upper right corner

I dont get the difference between the actual property, enabling the respective funtionality and the tag on the right upper side? *** Number 5 :B_example: :...
user avatar
  • 419
0 votes
1 answer
220 views

Export resume.org to both pdf and html

I've been maintaining my resume in orgmode for some time now, with export to pdf. I just decided it would be nice to also export to html which has uncovered a problem. I'm using headings to list my ...
user avatar
  • 331
0 votes
1 answer
795 views

Using org-ref to download pdfs using sci-hub as a fallback

I've developed a solution that allows to download pdfs from sci-hub as a fallback option to the functions provided by org-ref. I am a newbie to elisp, so please feel free to update this answer as ...
user avatar
  • 546
1 vote
1 answer
938 views

Display latex output natively in emacs in a vertically split window

Running Doom Emacs 2.0.9 on Emacs 26.3. Currenly, when I do TeX-command-run-all on a tex file, it opens the output in okular pdf viewer in a separate KDE window. I was wondering if it is possible to ...
user avatar
  • 1,668
3 votes
1 answer
300 views

Edit PDF page labels in pdf-tools?

Q: how can I change PDF page labels with pdf-tools? pdf-tools has the capacity to annotate PDFs, which is great. Can it also change the page labels as well? That is, not the raw page number, but the ...
user avatar
  • 31k
1 vote
0 answers
62 views

Get position in a pdf-page by clicking for annoting a pdf with latex

In https://tex.stackexchange.com/a/85676/4011, it is illustrated of how to annotated a pdf by using the latex package pdfpages, loading the pdf as a background layer and then use tikz nodes to make ...
user avatar
  • 957
1 vote
0 answers
47 views

If text is copied from pdf on yank run unfill-paragraph

It's similar problem Copy and Paste From PDF to Emacs as Plain Text When I copy text from pdf and yank to org mode I have to run manually unfill-paragraph function to remove unnecessary newlines & ...
user avatar
  • 357
1 vote
1 answer
104 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 ...
user avatar
  • 1,489
2 votes
1 answer
349 views

How to avoid export org-mode header title

I am translating a quite flat document (only has a title as a level 1 heading). I am using org-mode and I am creating a level 2 heading for each page to easily find the content when I am reviewing the ...
user avatar
0 votes
0 answers
1k views

export org to pdf not working: PDF was not produced

installed emacs and Latex ()texlive and texlive-latex-extra) on ubuntu. Exported an Org file to PDF with no success. Exporting via org-export-dispatch and selected [l] export to latex and [O] as PDF ...
user avatar
  • 235
1 vote
0 answers
198 views

Hide empty margins in pdf

My screen is a bit small and dividing it in two vertically to see a pdf while editing it leaves a lot to be desired. However, if pdf-tools or pdf-view mode had the option to hide a % of the empty ...
user avatar
1 vote
1 answer
25 views

Exporting Org to PDF while displaying Regex literal strings

I've been searching for the past couple of days to a solution to an issue I'm having. Hoping somebody who is more apt with emacs/exporting could provide some insight. Upon exporting an .org file (C-...
user avatar
5 votes
1 answer
227 views

Select a word in a PDF by double-clicking on it (with pdf-tools)

I use pdf-tools in Emacs to view PDF documents. I would like to be able to select words (mark their region and then copy them to the kill-ring) in the PDF by double-clicking on them. Is there a ...
user avatar
  • 444
6 votes
1 answer
3k views

How can I reliably create latex classes in org mode?

I'm trying to modify my .emacs to create my own classes, I tried this article and using org-latex rather than ox. I also tried this different approach. I tried enclosing the above classes with ...
user avatar
3 votes
1 answer
444 views

How can I capture selected text in a pdf-view buffer with org-capture?

I would like to capture the selected text (selected with the mouse) in a PDF document (opened in PDFView Mode) with an org capture template. When I evaluate the expression (car (pdf-view-active-...
user avatar
  • 366
0 votes
0 answers
105 views

org-mode: Remove loading message when exporting HTML and then converting to PDF

My goal is to export an HTML document and convert it to a PDF so I can have some of the advanced syntax highlighting and source code background coloring options in a PDF file. It seems to be working ...
user avatar
1 vote
0 answers
124 views

Auto-reverting only renderable PDF buffers

I'm using pdf-view mode and the global auto-revert mode with LaTeX and latexmk. This works fine, except that, a couple of times during the compilation, the PDF is in a useless state and the PDF ...
user avatar
  • 2,904
0 votes
0 answers
39 views

How to prevent preview-latex to manipulate and delete the pdf created by latex

Running latex-preview manipulates and then deletes the pdf created by latex. If skim is open as pdf-viewer the pdf gets sliced into the images created by latex-preview. Running latex again doesn't ...
user avatar
  • 1