From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Maihofer Subject: Re: Error when exporting as Latex Date: Fri, 10 Jul 2009 12:11:01 +0200 Message-ID: <4A5713B5.3050900@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPD4U-0007o7-J4 for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 06:11:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPD4N-0007ct-IC for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 06:11:13 -0400 Received: from [199.232.76.173] (port=37471 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPD4N-0007cO-4G for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 06:11:07 -0400 Received: from smtprelay03.ispgateway.de ([80.67.18.15]:58278) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPD4M-0001gW-P6 for emacs-orgmode@gnu.org; Fri, 10 Jul 2009 06:11:06 -0400 In-Reply-To: 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: Paul Mead Cc: emacs-orgmode@gnu.org Others may correct me but I think this is the same issue I had yesterday. The reason is that the two versions of Org - the one shipped with your Emacs and the latest one you installed by yourself conflict in some way. Some time ago the lisp-file for LaTeX export was renamed - perhaps this is why you get an error. My solution was to rename the Org-lisp-files in c:/bin/emacs-22.3/lisp/textmodes/. For example org-export-latex.elc gets org-export-latex.elc_save and so on. After that Emacs can only find the latest Org-version. I then had to add (require 'org-latex) to my ~/.emacs. Hope that helps. Karl Paul Mead schrieb: > Hi > > I've only just spotted this error as I don't use the Latex export very > often. When I export as Latex either to file or buffer, I get the > following error: > > org-export-latex-lists: Wrong number of arguments: #[(list) > "\"" [list org-list-to-generic (:splicep nil :ostart > "\\begin{enumerate}" :oend "\\end{enumerate}" :ustart "\\begin{itemize}" > :uend "\\end{itemize}" ...)] 3 > ("c:/bin/emacs-22.3/lisp/textmodes/org-export-latex.elc" . 39820)], 2 > > I've tested this on a file which is unchanged from when I last > successfully exported it, many org versions ago. > > Org-mode version 6.28trans > GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON > > Any ideas? > > Thanks, Paul > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >