emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generated graphic not included in exported TeX/PDF


From: Loris Bennett
Subject: Re: Generated graphic not included in exported TeX/PDF
Date: Thu, 07 Jan 2021 09:29:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Hi,
>
> I have just re-exported an org beamer presentation, which I created two
> years ago with a version of Org which was fairly up-to-date then.
> Everything still works fine, except for the fact that the images
> generated by the org file are not included in the exported PDF and
> indeed are missing from the generated TeX file.
>
> In the org file I have
>
>   #+NAME: backfill-tikz
>   #+HEADER: :fit yes :file ./generated/backfill_tikz.png :imagemagick yes 
> :iminoptions -density 600
>
>   #+HEADER: :headers '("\\usepackage{pgfplots}\\usepackage{sansmath}")
>   #+HEADER: :results raw
>
>   #+BEGIN_SRC latex :cache yes
>     \usepgfplotslibrary{colorbrewer}
>     \begin{tikzpicture}
>     ... 
>     \end{tikzpicture}
>   #+END_SRC
>
>   #+RESULTS[e2d28096fe9dceffb0b63ad4a441160ff2a0d1a7]: backfill-tikz
>   [[file:./generated/backfill_tikz.png]]
>
> As I say, the image itself is created, but not included when exported, 
> although it is
> displayed if I do org-toggle-inline-images in the org buffer.
>
> My current Org version is
>
>   Org mode version 9.4 (9.4-9-gab0052-elpaplus @ 
> /home/loris/.emacs.d/elpa/org-plus-contrib-20200928/)
>
> Any ideas what might be happening?

I have just noticed that this only affects images generated with tikz.
One image created with ditaa is included correctly.  All images are PNGs. 

-- 
This signature is currently under construction.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]