From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Graphics in LaTeX pdf output. Date: Tue, 11 Sep 2012 17:05:05 -0500 Message-ID: References: <7DBDA1C7-A141-4EBA-BF5B-9070E8CB1A5A@univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBYZv-0006pO-6V for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 18:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBYZu-0004ds-2q for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 18:05:07 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:58299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBYZt-0004cU-Ud for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 18:05:06 -0400 Received: by vcbfl13 with SMTP id fl13so1667485vcb.0 for ; Tue, 11 Sep 2012 15:05:05 -0700 (PDT) In-Reply-To: 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: Neuwirth Erich Cc: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" On Tue, Sep 11, 2012 at 4:05 PM, Neuwirth Erich wrote: > Excuse my sloppy report, I copied from the wrong terminal window. > And after rebooting my Mac, things suddenly worked again. No worries, and an unknown solution still gets the job done :) John > > On Sep 11, 2012, at 5:26 PM, Neuwirth Erich wrote: > >> 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="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. >> ... >> >> l.863 ...raphics[width=.9\linewidth]{agegraph.png} >> >> html output works. >> >> I dimly remember that the same file worked with a previous version of org and MacTeX 2011. > >