Christopher W. Ryan <[email protected]> wrote:
> 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
> #+LATEX_HEADER: \usepackage[margin=1in]{geometry}
> #+LATEX_HEADER: \usepackage{graphicx}
>
>
> I have tried the following code to include a figure (tried both
> approaches simultaneously, and the second one alone, neither with success):
>
Not sure what you mean here: did you just add the latex code into your org file
as is?
> \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?
>
Can you post your org file and the tex file that's produced on export?
Thanks,
Nick