all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Henney <whenney@gmail.com>
To: emacs-org <emacs-orgmode@gnu.org>
Subject: [org-babel] Bug in org-babel-latex when writing to PDF
Date: Mon, 14 Jun 2010 13:04:18 -0500	[thread overview]
Message-ID: <AANLkTim9QXblBFbmGLkoUk6Q2W-nAIjLgUqfVxcXAZbq@mail.gmail.com> (raw)

Hi all

If I have a snippet like so:

#+begin_src latex :file foo.png
Hello from org-babel!
#+end_src

then I can execute the source block with no problems, producing the
image foo.png.

However, if I change the filename to foo.pdf then it no longer works.

An intermediate .tex file is produced that contains the line

\usepackage[AUTO]{inputenc}

which causes latex to fail. Presumably, the string "AUTO" should have
been expanded to something, but it wasn't.

This is with yesterday's org-mode and emacs 23.2.1, aquamacs 2.0

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

             reply	other threads:[~2010-06-14 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 18:04 William Henney [this message]
2010-06-14 18:17 ` [org-babel] Bug in org-babel-latex when writing to PDF Eric Schulte
2010-06-14 19:52   ` Sébastien Vauban
2010-06-14 20:32   ` Eric Schulte
2010-06-14 21:22   ` William Henney
2010-06-14 21:46     ` Eric Schulte
2010-06-15 14:46       ` William Henney

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

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

  git send-email \
    --in-reply-to=AANLkTim9QXblBFbmGLkoUk6Q2W-nAIjLgUqfVxcXAZbq@mail.gmail.com \
    --to=whenney@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.