From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Problem with exporting image to PDF Date: Wed, 24 Aug 2011 15:25:08 -1000 Message-ID: References: <20110825125748.7449468d@kotuku> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwOh3-00087q-BZ for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 21:25:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwOh2-0004Fn-0c for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 21:25:17 -0400 Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:58943) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QwOh1-0004FQ-Pi for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 21:25:15 -0400 In-Reply-To: <20110825125748.7449468d@kotuku> (Toby's message of "Thu, 25 Aug 2011 12:57:48 +1200") 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: Toby Cc: emacs-orgmode@gnu.org Toby writes: > Hello, > > I am new to org-mode so really just trying to learn the ropes. If anyone can help me figure out how to export images to PDF I would appreciate it as I can't get it to work despite trying various methods in the .org file. > > 1. [[./images/1.png]] > 2. [[./images/1.eps]] > 3. #+LaTeX: \includegraphics[width=5em]{./images/1.eps} > > The above produce no graphics (or showing the link to the file) in the PDF which is successfully created with C-c C-e d > > I have tried different classes (article and koma-article) such as: > #+LaTeX_CLASS: koma-article > #+LaTeX_CLASS_OPTIONS: [a4paper] > > I am using: > Debian Squeeze > GNU Emacs 23.2.1 (powerpc-unknown-linux-gnu, GTK+ Version 2.20.1) > I have installed: texlive and texlive-latex-extra > > Thank you in advance for any suggestions on where I should be looking, or further information I should be providing to help diagnose the problem. > > Cheers, > Toby > > Aloha Toby, Welcome to Org-mode. Typically, for questions like yours, you will need to provide something the Org-mode community calls an ECM, which is an acronym for a minimal complete example. The example should fail to produce the results you expect, which you should specify, and it should contain as little other material as possible. In your case you might want to share the ECM Org-mode file and the resulting .tex file. Out of the box, Org-mode uses pdflatex to create pdf from LaTeX source (although this can be modified). Pdflatex does not accept eps files for graphic input, so this might have been part of your problem. It does accept png files, though, so it appears something else might be going on. You might also check your Org-mode version. I don't keep up with the various Linux distributions but I understand that some of them ship old versions of Org-mode. The current version is 7.7 and you'll want to use something fairly close to that. hth, Tom -- Thomas S. Dye http://www.tsdye.com