emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Maihofer <ignoramus@gmx.de>
To: Paul Mead <paul.d.mead@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error when exporting as Latex
Date: Fri, 10 Jul 2009 12:11:01 +0200	[thread overview]
Message-ID: <4A5713B5.3050900@gmx.de> (raw)
In-Reply-To: <uskh43lph.fsf@gmail.com>

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)
> "\b\"" [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
> 

  reply	other threads:[~2009-07-10 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10  9:56 Error when exporting as Latex Paul Mead
2009-07-10 10:11 ` Karl Maihofer [this message]
2009-07-10 12:13   ` Paul Mead
2009-07-10 12:25   ` Sebastian Rose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A5713B5.3050900@gmx.de \
    --to=ignoramus@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=paul.d.mead@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).