From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [BABEL] [BUG] Property ":exports: both" ignored when exporting subtree Date: Tue, 01 Mar 2011 10:38:47 -0700 Message-ID: <87oc5u4u2p.fsf@gmail.com> References: <87tyfp893d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=53981 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuToC-0007mg-RO for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 12:56:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuToB-0001fD-FJ for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 12:56:28 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:33594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuToB-0001f0-CJ for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 12:56:27 -0500 Received: by gxk2 with SMTP id 2so2627756gxk.0 for ; Tue, 01 Mar 2011 09:56:26 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode > > OK - further test: > > after an update this morning to Org-mode version 7.4 > (release_7.4.553.g83b7) even the export of the whole document top pdf, > does not include the graphs. In contrast, when using 7.01g with the > same emacs.org file, the export of the complete document includes the > graphs, although on 7.01g, no subtree export does include an graph. > Hi Rainer, So you want the Org-mode syntax text returned by R, to be interpreted as Org-mode and then further processed by the latex exporter to convert the "|name|[[./pdf1.pdf]]|" line into a latex table with an embedded graph? In that case you should add the ":results raw" header argument to your code block so that the results of the code block are not escaped. Best -- Eric > > With Org-mode version 7.4 (release_7.4.553.g83b7), no export of any > subtree included any graph. > > I attach my (longish) emacs.org file ant the init.el, but I do not > think there is a problem in there. > > Cheers, > > Rainer > > >>> >>> Cheers, >>> >>> Rainer >>> >>> * Her it does not work >>> :PROPERTIES: >>> :tangle: no >>> :results: output org >>> :exports: both >>> :END: >>> ** R code graph >>> #+begin_src R >>> =C2=A0 pdf("pdf1.pdf") >>> =C2=A0 plot(runif(100)) >>> =C2=A0 dev.off() >>> >>> =C2=A0 cat( >>> =C2=A0 =C2=A0 =C2=A0 "\n|--|--|\n", >>> =C2=A0 =C2=A0 =C2=A0 "|name|[[./pdf1.pdf]]|\n", >>> =C2=A0 =C2=A0 =C2=A0 "|--|--|\n" >>> =C2=A0 =C2=A0 =C2=A0 ) >>> #+end_src >>> >>> >>> * Here it works >>> :PROPERTIES: >>> :tangle: no >>> :results: output org >>> :exports: both >>> :END: >>> ** R code graph >>> #+begin_src R :exports both >>> =C2=A0 pdf("pdf1.pdf") >>> =C2=A0 plot(runif(100)) >>> =C2=A0 dev.off() >>> >>> =C2=A0 cat( >>> =C2=A0 =C2=A0 =C2=A0 "\n|--|--|\n", >>> =C2=A0 =C2=A0 =C2=A0 "|name|[[./pdf1.pdf]]|\n", >>> =C2=A0 =C2=A0 =C2=A0 "|--|--|\n" >>> =C2=A0 =C2=A0 =C2=A0 ) >>> #+end_src >>