emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Toby <orgmode@freerangekiwi.com>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with exporting image to PDF
Date: Sat, 27 Aug 2011 22:18:04 +1200	[thread overview]
Message-ID: <20110827221804.697c3ced@kotuku> (raw)
In-Reply-To: <9775.1314282182@alphaville.dokosmarshall.org>

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 <nicholas.dokos@hp.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: "Thomas S. Dye" <tsd@tsdye.com>, emacs-orgmode@gnu.org,    Toby <orgmode@freerangekiwi.com>, nicholas.dokos@hp.com
Subject: Re: [O] Problem with exporting image to PDF


suvayu ali <fatkasuvayu+linux@gmail.com> 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 <nicholas.dokos@hp.com> wrote:
> > Thomas S. Dye <tsd@tsdye.com> wrote:
> >
> >> Toby <orgmode@freerangekiwi.com> 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	other threads:[~2011-08-27 10:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25  0:57 Problem with exporting image to PDF Toby
2011-08-25  1:25 ` Thomas S. Dye
2011-08-25  1:59   ` Nick Dokos
2011-08-25  7:30     ` suvayu ali
2011-08-25 14:23       ` Nick Dokos
2011-08-27 10:18         ` Toby [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110827221804.697c3ced@kotuku \
    --to=orgmode@freerangekiwi.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).