emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problem with exporting image to PDF


From: Toby
Subject: Re: [O] Problem with exporting image to PDF
Date: Sat, 27 Aug 2011 22:18:04 +1200

Hi Tom, Nick, and suvayu,

Thank you for your replies, I really appreciate the warm welcome! 

Good news is, I got it working using PNG images... Slightly bad news is I don't 
actually know how :-) It seems like just posting to the list made it magically 
work. Actually, I have tried several times to replicate it *not* working 
without success, so was probably my own error in listing the right file 
path/name.

Tom, I have discovered the Org-mode version I have is behind-the-times (7.01g 
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 <address@hidden>
To: suvayu ali <address@hidden>
Cc: "Thomas S. Dye" <address@hidden>, address@hidden,    Toby <address@hidden>, 
address@hidden
Subject: Re: [O] Problem with exporting image to PDF


suvayu ali <address@hidden> wrote:

> Hi Toby, John and Nick,
> 
> Its early in the morning for me, so whatever follows could simply be
> wrong. :-p
> 
> On Thu, Aug 25, 2011 at 3:59 AM, Nick Dokos <address@hidden> wrote:
> > Thomas S. Dye <address@hidden> wrote:
> >
> >> Toby <address@hidden> writes:
> >>
> >> > I have tried different classes (article and koma-article) such as:
                                       ^^^^^^^
> >> > #+LaTeX_CLASS: koma-article
> >> > #+LaTeX_CLASS_OPTIONS: [a4paper]
> >> >
> 
> 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.
> 

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).  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.
> >>
> >
> > 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.  If the OP deletes the .eps lines, the .png one will probably
> > work.
> >
> 
> 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.
> 

Not sure what version I have, but it does throw an error w/eps. I'll see
if I can upgrade.

Thanks,
Nick

> HTH
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]