[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Error when exporting as Latex

From: Karl Maihofer
Subject: Re: [Orgmode] Error when exporting as Latex
Date: Fri, 10 Jul 2009 12:11:01 +0200
User-agent: Thunderbird (Macintosh/20090605)

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.


Paul Mead schrieb:

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]