[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with exporting image to PDF
From: |
Nick Dokos |
Subject: |
Re: [O] Problem with exporting image to PDF |
Date: |
Thu, 25 Aug 2011 10:23:02 -0400 |
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.
>