From: John Hendy <jw.hendy@gmail.com>
To: Neuwirth Erich <erich.neuwirth@univie.ac.at>
Cc: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Graphics in LaTeX pdf output.
Date: Tue, 11 Sep 2012 17:05:05 -0500 [thread overview]
Message-ID: <CA+M2ft8DoThNecSoJQ2hKxzQsZ__wNMfQwNh-yF7Jofk7dBrrg@mail.gmail.com> (raw)
In-Reply-To: <D50F7AE2-0E3C-400B-B3EA-30EFF542EFFA@univie.ac.at>
On Tue, Sep 11, 2012 at 4:05 PM, Neuwirth Erich
<erich.neuwirth@univie.ac.at> 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 <erich.neuwirth@univie.ac.at> 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 <return> 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.
>
>
prev parent reply other threads:[~2012-09-11 22:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-11 15:26 Graphics in LaTeX pdf output Neuwirth Erich
2012-09-11 16:25 ` John Hendy
2012-09-11 21:05 ` Neuwirth Erich
2012-09-11 22:05 ` John Hendy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+M2ft8DoThNecSoJQ2hKxzQsZ__wNMfQwNh-yF7Jofk7dBrrg@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=erich.neuwirth@univie.ac.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).