From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org
Subject: graphics for html and latex / pdf export?
Date: Wed, 03 Sep 2014 18:15:42 +0200 [thread overview]
Message-ID: <m2ha0ofzo1.fsf@krugs.de> (raw)
[-- 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 --]
next reply other threads:[~2014-09-03 16:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-03 16:15 Rainer M Krug [this message]
2014-09-03 17:21 ` graphics for html and latex / pdf export? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ha0ofzo1.fsf@krugs.de \
--to=rainer@krugs.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).