From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: new exporter - LaTeX export setting org-export-latex-packages-alist and BUG empty source block export Date: Thu, 07 Feb 2013 11:15:04 +0100 Message-ID: <51137EA8.5020603@gmail.com> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3OcM-0006jZ-9V for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 05:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3OcK-0001SG-0t for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 05:22:10 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:62489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3OcJ-0001S3-RX for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 05:22:07 -0500 Received: by mail-wi0-f179.google.com with SMTP id ez12so2656680wid.6 for ; Thu, 07 Feb 2013 02:22:06 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I had the following in my emacs.org: #+begin_src emacs-lisp (require 'org-latex) (setq org-export-latex-listings t) (add-to-list 'org-export-latex-packages-alist '("" "listings")) (add-to-list 'org-export-latex-packages-alist '("" "color")) #+end_src After upgrade of org this morning using git, the new exporter is there and I get the following error message: (void-variable org-export-latex-packages-alist) I just commented them out and added #+LATEX_HEADER: \usepackage{listings} #+LATEX_HEADER: \usepackage{color} to the files concerned In addition, there seems to be a BUG: when exporting an empty source block to LaTeX, I get the following error message: org-babel-exp processing... [69 times] apply: Wrong number of arguments: max, 0 I can easily replicate this with a document only containing: * org-mode #+begin_src emacs-lisp #+end_src which exports fine to html, but not LaTeX. Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRE36oAAoJENvXNx4PUvmCqx0IAMaDyq0GHlIrV6GEAXFAaAGz nHzlLOsBEhubciZByeyP8f/6clr4rpyNVKz4PSpqAY8dR7mi3jcPxUT7EP449ddr pQlbXJ+51SCoKDYMszD9jsaxxELq9nShFS09l/HsVsk9tuzTmIa8cft6RiNI5V9v e5RkFaxlndOZsrR5eRqh9ITvoLlL6OkrCSlP/SPG+ua1J9tSKqi26s0MBAtCHjhx vg1uHvUOVVLr0eVAcwiJfUyCvBkj7yFdNi8gQmbN+gVDvbyZCcjyZjmvSGiTqfc8 5j+4A4lAzEimAn57WxiKp6IK4qeytny9BKo23iBxhN8COBqyzolehSPOJpIFAjk= =z3pP -----END PGP SIGNATURE-----