emacs-orgmode
[Top][All Lists]

[O] how to include graphics in pdf output

 From: Christopher W. Ryan Subject: [O] how to include graphics in pdf output Date: Mon, 19 Mar 2012 15:20:05 -0400 User-agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5

I am running org mode 7.7 on Win XP. I hope to export a document to pdf,
and I'd like to include an image in it. The image is a file called
DataLoggerImage.jpg; it resides in the same directory as my org file.

These are the first three lines of my org file:

#+OPTIONS:   todo:nil toc:nil tags:nil

I have tried the following code to include a figure (tried both
approaches simultaneously, and the second one alone, neither with success):

\begin{figure}\centering
\includegraphics{DataLoggerImage}
\caption{Temperature and humidity data logger}\label{datalogger}
\end{figure}

#+CAPTION: Temperature and humidity data logger
#+LABEL:   datalogger
[[./DataLoggerImage.jpg]]

The figure does not appear in the resulting pdf.  Any advice as to what
I am doing wrong?

Thanks.

--Chris
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
425 Robinson Street, Binghamton, NY  13904
cryanatbinghamtondotedu

"Observation is a more powerful force than you could possibly reckon.
The invisible, the overlooked, and the unobserved are the most in danger
of reaching the end of the spectrum. They lose the last of their light.
>From there, anything can happen . . ."  [God, in "Joan of Arcadia,"
episode entitled, "The Uncertainty Principle."]