Questions tagged [pdf]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
656 views

How to jump to a page in `DocView` mode when a pdf contains a roman numeral numbered introduction?

Lets say that I am viewing a pdf in emacs which contains a section numbered with roman numerals. How would I jump to page xxii in that section without doing mental math about what that page's number ...
2
votes
2answers
258 views

Keeping track of a pdf viewer spawned via AUCTeX?

When using AUCTeX with pdflatex, one can run C-c C-c (TeX-command-master) or C-c C-v (TeX-view) to spawn a PDF viewer. I use Evince on Debian Wheezy, in case it's relevant. This might sound a ...
2
votes
1answer
390 views

PDF doc view flickers continously

I just configured my emacs to display PDFs using doc view. But the problem is that the display flickers continuously. It seems that doc view is constantly refreshing the frame leading to an unpleasant ...
2
votes
1answer
376 views

mu4e: open PDFs with pdf-tools

I've just set up mu4e, and have noticed that when opening an attachment with the o key it will open with MuPDF. Pressing A w to open-with doesen't seem to help either, since it prompts for an external ...
2
votes
1answer
301 views

Emacs26 — (1) view PDF with Okular; (2) compile TEX file silently

I am running Emacs 26 built with GTK toolkit. AUCTeX has been successfully installed. 1) How to force Emacs to open an Okular session to view the PDF file, instead of opening another window within ...
2
votes
1answer
609 views

how to enable pdflatex --shell-escape switch in org-export dispatcher interface

I would like to add a switch when invoking the org-export dispatcher interface for latex-pdf exports. I'm trying to render an SVG image but the *Org PDF LaTeX Output* buffer errors out because of a ...
2
votes
1answer
84 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 ...
2
votes
1answer
95 views

Custom ID is rendered in LaTex with org mode

I'm a noob in Emacs org mode. I convert a note of my friend's from .lyx to .tex with lyx then I use pandoc to convert it into .org. As default under heading I find: :PROPERTIES: :CUSTOM_ID: title-of-...
2
votes
1answer
438 views

org-mode XeLaTeX export to pdf: define font color for different structure levels

I would like to set the colors for a pdf export of an org-mode file based on the structural elements. That is something like * This Headline Should Be Blue ** This subheadline should be green - ...
2
votes
1answer
335 views

Org export to pdf inserts ^I for indentation in code

I have worked around the problem by customizing org-src-preserve-indentation to true, but by default when I export my code snippets to pdf, My code winds up looking like this: void foo() { ^I//bla ...
2
votes
0answers
74 views

doc-view failing for some PDFs, but ghostscript can view them?

When I use docview to view PDFs on my work computer (a redhat linux system) it always works, except in PDFs coming from Springer-Verlag articles and chapters. In that case it gives this error: ...
2
votes
0answers
226 views

Format <<<target links>>> in org-mode for printing

Is there a way to format target links created by org-mode when using radio targets such as the following: <<<some text>>> where that some text is linked back When outputting to ...
1
vote
1answer
28 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: :...
1
vote
1answer
60 views

How can I change what happens when I click on a pdf-tools link?

I read pdfs with pdf-tools, but I think what I'm asking may apply to more than pdf-tools alone. In any case, as an example, some research paper pdfs have references with clickable links - say a link ...
1
vote
2answers
496 views

How do I view an image in a new buffer in emacs?

I have the path to a pdf file or a png file (whichever is easiest to show, but bonus points for showing both). How do I show the image in a new buffer? (It makes no sense to show it inline since it ...
1
vote
2answers
774 views

Opening an External PDF in the Terminal

This is migrated from the LaTeX stack exchange. I am using Emacs on the Mavericks OSX Terminal. I can open the TeX file fine, but I can compile a pdf via C-c C-c. Is there some way that I can open the ...
1
vote
1answer
58 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 ...
1
vote
1answer
400 views

How can I get a mailto link in an org-mode latex export to PDF for the #+email: keyword

When I'm specifying my mail address #+email: bla@comp.org I'm getting a text footnote bla@comp.org for an org latex export of a report. I'd like to have a complete mailto hyperlink though. I tried ...
1
vote
1answer
128 views

pdf-tools indirect buffers

I am using an indirect buffer of a pdf from a pdf-tools PDFView buffer. This works except the indirect buffer is in DocView mode, and therefore I can't use any of the pdf-tools features in that buffer....
1
vote
2answers
147 views

Image tooltips with pdf

I want the image tooltip code also make work for pdf format, thus I added the pdf keyword to the file extension list of the original code (http://kitchingroup.cheme.cmu.edu/blog/2016/03/21/Displaying-...
1
vote
1answer
53 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 ...
1
vote
1answer
20 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-...
1
vote
2answers
134 views

View command does not open pdf while in AUCTeX mode

Sometimes, after havin applied latex to my .tex file, instead of executing okular --unique my.pdf emacs tried to execute okular --unique my.pdf#src:332#("/folderToMyTex/my.tex" 0 61 (org-attr nil)) ...
1
vote
1answer
179 views

Using org-beamer: display image on every page except the title page

Using org-beamer-export-to-pdf with the following document, I am able to display an image on every slide #+LATEX_HEADER:\usepackage{eso-pic}% http://ctan.org/pkg/eso-pic #+BEAMER_HEADER:\newcommand\...
1
vote
1answer
890 views

Org-mode export: Resize Plantuml diagram when exporting to PDF and image gets repeated

I have a simple PlantUML diagram in an org file and I want to export the entire document to pdf. The problem is that the diagram is embedded correctly, but the picture takes up an entire page. SECOND, ...
1
vote
1answer
359 views

SumatraPDF.exe as default PDF viewer

I'm using emacs (GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17), and trying to define SumatraPDF as my default PDF-viewer for LaTeX. After some trials, nothing happens, and I have no idea why... ...
1
vote
0answers
37 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 ...
1
vote
0answers
23 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 ...
1
vote
0answers
35 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 & ...
1
vote
0answers
64 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 ...
1
vote
0answers
83 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 ...
1
vote
0answers
123 views

How to (mostly) get rid of doc-view?

Since I moved to emacs 25 (25.3.2 at the moment) in every context (org-mode, gnus, latex, browsing url, direct access to file) I access pdf-files in emacs, they are displayed in doc-view. I basically ...
1
vote
0answers
104 views

Don't focus on evince, when compiling pdf from org-mode

I'm using Evince as my Pdf-Viewer (In a split-screen-setup) whenever i write something in org-mode and compile it as a pdf. To achieve this, i've added (add-to-list 'org-file-apps '("pdf" . "evince %...
1
vote
0answers
86 views

how to “slow” down the execution of code blocks

on OSX 10.13.4 with emacs 25.3 and org-mode 9.1.12. Python is 3.5.2 with matplotlib 2.2.2 I am trying to find a way to have org-mode babel for python to slow down in some of the points of my code ...
1
vote
0answers
390 views

Set up auctex with emacs to use latex(not pdflatex) but generate a pdf at the end

I asked the question on setting up auctex with emacs on tex list but I still could not find the end solution, unfortunately. Here is the link to my original question: https://tex.stackexchange.com/...
1
vote
0answers
974 views

Change style of Org-Mode export to pdf

I'm new to Org-Mode and Spacemacs and I'm trying to change the export style of org-mode. I want to take notes with it and have source code blocks. I'm having difficulty in changing the export ...
1
vote
0answers
294 views

org babel exports code blocks even if I tell it to export results instead

How can I make org-babel only export results, not code? The only way I've found to suppress code from appearing in the output is to comment out all the code blocks manually. I tried adding :exports ...
1
vote
0answers
28 views

Auctex+sumatraPDF on Windows inverse search. want to remove the CMD windows

I am using Auctex+SumatraPDF on Windows now. I have set them working well, except a small annoying thing. Every time I do the inverse search from SumatraPDF to Emacs, a Windows command window show up ...
0
votes
1answer
60 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 ...
0
votes
1answer
192 views

Undefined control sequence \uline in exporting org-mode with underline markup to PDF using xelatex

For the following sample, #+LATEX_CMD: xelatex #+LATEX_HEADER: \usepackage{xltxtra} #+OPTIONS: ^:nil This is a _test_ The export to PDF uses xelatex would produce the following error: ! Undefined ...
0
votes
1answer
242 views

How to export a pdf in landscape rotation

Following example.org is expected to be exported in landscape though the generated pdf remains in portrait. What should I change? ** A3 PDF Landscape #+LATEX_HEADER: \usepackage[a3paper]{geometry} ...
0
votes
1answer
608 views

Windows: org not exporting pdf

I am trying to get emacs org-mode to export to pdf. To this end I've installed tex-live and added the path to the bin folder to my emacs path. I've added the tex-live folder to my OS $PATH. When I try ...
0
votes
1answer
574 views

Issue with org-mode export to pdf via LaTeX

Whenever I export my org-mode (version 8.2.10) file to pdf via LaTeX, it gives me: Page 1 with only content 2015/01/01Old fixltx2e package 0000/00/00Old fixltx2e package and the rest part is blank. ...
0
votes
1answer
135 views

Why does viewing PGP encrypted PDF fail?

When I try to open a PGP encrypted PDF file.pdf.gpg, then – after entering the PIN in my smartcard reader – a window pops up with an error message: Error: /syntaxerror in (binary token, type=150) ...
0
votes
1answer
85 views

increasing the time of search-forward using sumatra-forward.el

sumatra-forward.el allows to do a forward-search from a place in a tex file to the corresponding place in its compiled pdf file viewed by SumatraPDF. The command to do the job is M-x sumatra-jump-to-...
0
votes
0answers
37 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 ...
0
votes
1answer
192 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 ...
0
votes
0answers
37 views

EXWM is my WM and Openboard application does not export to pdf

I try to export a board from Openboard application to a pdf file. A pop up window should appear and ask me where to save the exported file but nothing happens... Is it related to the fact that I use ...
0
votes
0answers
47 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 ...
0
votes
1answer
162 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 ...