emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to include graphics in pdf output


From: Nick Dokos
Subject: Re: [O] how to include graphics in pdf output
Date: Mon, 19 Mar 2012 15:53:19 -0400

Christopher W. Ryan <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]