From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toby Subject: Re: Problem with exporting image to PDF Date: Sat, 27 Aug 2011 22:18:04 +1200 Message-ID: <20110827221804.697c3ced@kotuku> References: <20110825125748.7449468d@kotuku> <9363.1314237581@alphaville.americas.hpqcorp.net> <9775.1314282182@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxFx3-0003Br-HG for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 06:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxFx2-0002aK-9v for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 06:17:21 -0400 Received: from linuxplesk9.openhost.net.nz ([119.47.118.13]:51872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxFx1-0002a1-O5 for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 06:17:20 -0400 In-Reply-To: <9775.1314282182@alphaville.dokosmarshall.org> 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: emacs-orgmode@gnu.org Hi Tom, Nick, and suvayu, Thank you for your replies, I really appreciate the warm welcome!=20 Good news is, I got it working using PNG images... Slightly bad news is I d= on't actually know how :-) It seems like just posting to the list made it m= agically work. Actually, I have tried several times to replicate it *not* w= orking without success, so was probably my own error in listing the right f= ile path/name. Tom, I have discovered the Org-mode version I have is behind-the-times (7.0= 1g on Debian Squeeze). Thank you for your suggestions on ECM which I shall = know to use next time I post. Cheers, Toby -----Original Message-------------------------------------------- Date: Thu, 25 Aug 2011 10:23:02 -0400 From: Nick Dokos To: suvayu ali Cc: "Thomas S. Dye" , emacs-orgmode@gnu.org, Toby , nicholas.dokos@hp.com Subject: Re: [O] Problem with exporting image to PDF suvayu ali wrote: > Hi Toby, John and Nick, >=20 > Its early in the morning for me, so whatever follows could simply be > wrong. :-p >=20 > On Thu, Aug 25, 2011 at 3:59 AM, Nick Dokos wrote: > > Thomas S. Dye wrote: > > > >> Toby writes: > >> > >> > I have tried different classes (article and koma-article) such as: ^^^^^^^ > >> > #+LaTeX_CLASS: koma-article > >> > #+LaTeX_CLASS_OPTIONS: [a4paper] > >> > >=20 > I believe this might be your problem. Org recognises only a few document > classes by default. You need to add to the org-export-latex-classes > variable to support other classes. Presently the supported classes are: > article, report, book and beamer. >=20 The OP tried article - see above. > >> > >> Out of the box, Org-mode uses pdflatex to create pdf from LaTeX source > >> (although this can be modified). =A0Pdflatex does not accept eps files= for > >> graphic input, so this might have been part of your problem. =A0It does > >> accept png files, though, so it appears something else might be going > >> on. > >> > > > > It's probably the case that even though there is a processing error with > > .eps files, in some circumstances, a PDF file *is* produced, but it's > > just a skeleton and therefore does not properly render even the "good" > > image. =A0If the OP deletes the .eps lines, the .png one will probably > > work. > > >=20 > Actually for TeXLive 2010 and above all included eps files are converted > to pdf (with eps2pdf I think) and included. I am not sure if this is the > case for earlier versions though. >=20 Not sure what version I have, but it does throw an error w/eps. I'll see if I can upgrade. Thanks, Nick > HTH >=20 > --=20 > Suvayu >=20 > Open source is the future. It sets us free. >=20