From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: graphics in eval vs graphics in export
Date: Thu, 17 Feb 2011 01:20:34 +0100 [thread overview]
Message-ID: <4D5C69D2.40307@med.uni-goettingen.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1072 bytes --]
Hi all,
I am having trouble with LaTeX export (again). In my sample code, the
source block below the headline 'Plot' produces a correct pdf, when
evaluated (C-c C-c), but when exported, the pdf is broken.
(I am on commit 0f01b842bb2b6fada2579d0278fc53422e8ea62f since the
removal of htmlp prevents me from exporting)
Regards,
Andreas
PS: my sample code:
* Test
#+srcname: plot_test
#+begin_src R :session :exports code :eval never :noweb tangle :var
chromosome
plot(x=rnorm(10),
y=rnorm(10))
#+end_src
* Plot
Produces fine pdf, when evaluated, but *not* when exported
#+srcname: plot_test_1
#+begin_src R :session :noweb tangle :file test_1.pdf :exports
results :results graphics :width 8 :height 4
test <- 1
<<plot_one_test>>
#+end_src
#+results: plot_test_1
[[file:test_1.pdf]]
** intern :noexport:
#+srcname: plot_one_test
#+begin_src R :session :noweb tangle :file test.pdf
test <- test + 1
<<plot_test>>
#+end_src
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6432 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
reply other threads:[~2011-02-17 0:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4D5C69D2.40307@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.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).