From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Subject: beamer export org 8.0.2 Date: Fri, 14 Feb 2014 15:47:24 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKze-0005Nq-0L for emacs-orgmode@gnu.org; Fri, 14 Feb 2014 10:48:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEKzW-0005Xx-I9 for emacs-orgmode@gnu.org; Fri, 14 Feb 2014 10:47:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:54055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEKzW-0005Xf-AY for emacs-orgmode@gnu.org; Fri, 14 Feb 2014 10:47:50 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WEKzU-0002po-Qn for emacs-orgmode@gnu.org; Fri, 14 Feb 2014 16:47:49 +0100 Received: from 192.196.142.27 ([192.196.142.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Feb 2014 16:47:48 +0100 Received: from mohamed.hibti by 192.196.142.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Feb 2014 16:47:48 +0100 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 Dear All, I have a problem with beamer export. (Org-mode version 8.0.2 (8.0.2-dist @ /home/user/.emacs.d/elpa/org-20140127/) when trying to export a small file I got the following message: org-beamer-export-to-pdf: Wrong number of arguments: (lambda (backend file &optional subtreep visible-only body-only ext-plist) "Call `org-export-as' with output to a specified file. BACKEND is the back-end used for transcoding, as a symbol. FILE is the name of the output file, as a string. Optional arguments SUBTREEP, VISIBLE-ONLY, BODY-ONLY and EXT-PLIST are similar to those used in `org-export-as', which see. Depending on `org-export-copy-to-kill-ring', add file contents to kill ring. Return output file's name." (if (file-writable-p file) nil (error "Output file not writable")) (let ((out (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert out) (let ((coding-system-for-write org-export-coding-system)) (write-file file))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p out)) (progn (org-kill-new out)))) file), 8 Any help is welcome. Thanks