emacs-orgmode
[Top][All Lists]
Advanced

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

[O] graphics for html and latex / pdf export?


From: Rainer M Krug
Subject: [O] graphics for html and latex / pdf export?
Date: Wed, 03 Sep 2014 18:15:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

Hi

I know this has been asked before, but I can't find it...

I would like to export a document which contains graphs generated in R
as html as well as latex / pdf. For LaTeX, I use output format pdf,
d=which does not work as inline picture for html export. How can I
automate the process, that all graphs which are included in org as e.g.

--8<---------------cut here---------------start------------->8---
#+begin_src R :file graph.pdf :results graphics
  plot(1,1)
#+end_src

#+RESULTS:
[[file:graph.pdf]]
--8<---------------cut here---------------end--------------->8---

are available for the html export as inline images (e.g. png)?

I remember some use of imagemagic? 

I could obviously do this manually in each code block, but I would
prefer a general solution, so that I can forget about it and it is working.

Thanks,

Rainer

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: pgph9BK04zfvF.pgp
Description: PGP signature


reply via email to

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