From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neuwirth Erich Subject: Graphics in LaTeX pdf output. Date: Tue, 11 Sep 2012 17:26:53 +0200 Message-ID: <7DBDA1C7-A141-4EBA-BF5B-9070E8CB1A5A@univie.ac.at> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBSMi-00083v-L6 for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 11:27:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBSMc-0007Vq-Lh for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 11:27:04 -0400 Received: from grace.univie.ac.at ([131.130.3.115]:57087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBSMc-0007VL-CG for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 11:26:58 -0400 Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.80) (envelope-from ) id 1TBSMZ-0008Pe-Ip for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 17:26:55 +0200 Received: from 188-22-89-141.adsl.highway.telekom.at ([188.22.89.141] helo=[10.0.0.4]) by joan.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TBSMZ-0001Rc-BQ for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 17:26:55 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" I am trying to produce pdf through latex with R in org. I am using MacTeX 2012, Emacs 24.2, and org mode version 7.9.1 (on = Mountain Lion) I have the the following code segment. #+BEGIN_SRC R :session *R* :results output graphics :file first.png = :exports both plot((0:10)^2,type=3D"l") #+END_SRC It does not work. It produces text output and then stops. When I run latex on this manually, TeX complains about a missing = bounding box. ! LaTeX Error: Cannot determine size of graphic in agegraph.png (no = BoundingBox ). See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... =20 =20 l.863 ...raphics[width=3D.9\linewidth]{agegraph.png} html output works. I dimly remember that the same file worked with a previous version of = org and MacTeX 2011.=