emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* graphics for html and latex / pdf export?
@ 2014-09-03 16:15 Rainer M Krug
  2014-09-03 17:21 ` Aaron Ecay
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2014-09-03 16:15 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

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 #2: Type: application/pgp-signature, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-04 12:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 16:15 graphics for html and latex / pdf export? Rainer M Krug
2014-09-03 17:21 ` Aaron Ecay
2014-09-04 11:07   ` Rainer M Krug
2014-09-04 12:05     ` Rainer M Krug
2014-09-04 12:12       ` Thorsten Jolitz
2014-09-04 12:19         ` Rainer M Krug

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).