From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with exporting image to PDF Date: Thu, 25 Aug 2011 10:23:02 -0400 Message-ID: <9775.1314282182@alphaville.dokosmarshall.org> References: <20110825125748.7449468d@kotuku> <9363.1314237581@alphaville.americas.hpqcorp.net> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwapn-0003ag-QR for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 10:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwapm-0001L4-B0 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 10:23:07 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:2216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwapm-0001Kz-4p for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 10:23:06 -0400 In-Reply-To: Message from suvayu ali of "Thu\, 25 Aug 2011 09\:30\:51 +0200." 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: suvayu ali Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Toby 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). =C2=A0Pdflatex does not accept eps fi= les for > >> graphic input, so this might have been part of your problem. =C2=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. =C2=A0If the OP deletes the .eps lines, the .png one will probab= ly > > 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