emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: "Christopher W. Ryan" <cryan@binghamton.edu>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: how to include graphics in pdf output
Date: Mon, 19 Mar 2012 15:53:19 -0400	[thread overview]
Message-ID: <5734.1332186799@alphaville> (raw)
In-Reply-To: Message from "Christopher W. Ryan" <cryan@binghamton.edu> of "Mon, 19 Mar 2012 15:20:05 EDT." <4F6786E5.5030108@binghamton.edu>

Christopher W. Ryan <cryan@binghamton.edu> 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	other threads:[~2012-03-19 19:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cryan@binghamton.edu>
2012-03-19 19:20 ` Christopher W. Ryan
2012-03-19 19:53   ` Nick Dokos [this message]
2012-03-19 23:32     ` suvayu ali
2012-03-19 23:48       ` Nick Dokos
2012-03-20  4:12         ` Christopher W. Ryan
2012-03-20  4:46           ` Nick Dokos
2012-03-21  2:59             ` Christopher W. Ryan
2012-03-21  9:54               ` Sebastien Vauban
2012-03-21 10:39                 ` John Hendy
2012-03-21 14:05                   ` Christopher W. Ryan

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=5734.1332186799@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=cryan@binghamton.edu \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: how to include graphics in pdf output' \
    /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

Code repositories for project(s) associated with this 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).