emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] graphics in eval vs graphics in export


From: Andreas Leha
Subject: [Orgmode] graphics in eval vs graphics in export
Date: Thu, 17 Feb 2011 01:20:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11

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: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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