emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* graphics in eval vs graphics in export
@ 2011-02-17  0:20 Andreas Leha
  0 siblings, 0 replies; only message in thread
From: Andreas Leha @ 2011-02-17  0:20 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-17  0:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17  0:20 graphics in eval vs graphics in export Andreas Leha

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).