From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how to include graphics in pdf output Date: Mon, 19 Mar 2012 15:53:19 -0400 Message-ID: <5734.1332186799@alphaville> References: <4F6786E5.5030108@binghamton.edu> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9idy-0001WC-6z for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 15:53:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9idv-0007I6-GK for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 15:53:25 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:37951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9idv-0007Hp-CA for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 15:53:23 -0400 In-Reply-To: Message from "Christopher W. Ryan" of "Mon, 19 Mar 2012 15:20:05 EDT." <4F6786E5.5030108@binghamton.edu> 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: "Christopher W. Ryan" Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Christopher W. Ryan 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