From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harri Kiiskinen Subject: Bug in publishing to LaTeX Date: Mon, 19 Nov 2012 21:45:16 +0200 (EET) Message-ID: <20121119.214516.526453316.harkiisk@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaXHg-0007Yl-7e for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 14:45:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaXHa-0001Wp-H5 for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 14:45:32 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaXHa-0001WM-9v for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 14:45:26 -0500 Received: by mail-lb0-f169.google.com with SMTP id gk1so4491807lbb.0 for ; Mon, 19 Nov 2012 11:45:23 -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@gnu.org Hi, it seems that there is a bug in publishing to LaTeX: org-publish-org-to calls org-export-as -functions with six arguments: (funcall (intern (concat "org-export-as-" format)) (plist-get plist :headline-levels) nil plist nil (plist-get plist :body-only) pub-dir) but org-export-as-latex accepts only five: (org-export-as-latex ARG &optional EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR) as compared to org-export-as-html, for example, which takes six: (org-export-as-html ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR) This in: Org-mode version 7.9.2 (release_7.9.2-603-gf8a69a @ /usr/local/share/emacs/site-lisp/org/) I do not know the export code so well as to suggest a patch of my own. All the best, Harri Kiiskinen