From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Henney Subject: [org-babel] Bug in org-babel-latex when writing to PDF Date: Mon, 14 Jun 2010 13:04:18 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=38337 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOE1F-0006PJ-67 for emacs-orgmode@gnu.org; Mon, 14 Jun 2010 14:04:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOE1D-0002BC-RX for emacs-orgmode@gnu.org; Mon, 14 Jun 2010 14:04:20 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:50678) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOE1D-0002B6-Ok for emacs-orgmode@gnu.org; Mon, 14 Jun 2010 14:04:19 -0400 Received: by iwn1 with SMTP id 1so4878307iwn.0 for ; Mon, 14 Jun 2010 11:04:18 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org 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 --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia