From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Testing org-export-as-odt-and-open Date: Mon, 10 Oct 2011 17:24:12 +0530 Message-ID: <81aa99jc4b.fsf@gmail.com> References: <81ehz4wibd.fsf@gmail.com> <4E91CA9D.30900@orange.fr> <81zkhaj64l.fsf@gmail.com> <4E929B0C.1020901@orange.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDERT-0007Ag-8X for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 07:54:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDERR-0000on-NY for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 07:54:47 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:48873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDERR-0000oh-Km for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 07:54:45 -0400 Received: by gya6 with SMTP id 6so6361365gya.0 for ; Mon, 10 Oct 2011 04:54:44 -0700 (PDT) In-Reply-To: <4E929B0C.1020901@orange.fr> (Eric Belpaire's message of "Mon, 10 Oct 2011 09:13:16 +0200") 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: Eric Belpaire Cc: emacs-orgmode@gnu.org Hello Eric, > When trying the c-c c-e O on test.org, I get the following in > *Messages*: > apply: Wrong number of arguments: #[(label category seqno fmt1 fmt2) "= =C2=84 > [label save-match-data-internal fmt2 category seqno fmt1 signal > cl-assertion-failed match-data ((byte-code "=C3=81=C3=82\"=C2=87" > [save-match-data-internal set-match-data evaporate] 3)) ...] 9], 2 This is a bug in the odt exporter. I have fixed it in org-odt-20111011.tar. > Not a PNG file: > e:/User/home/.emacs.d/elpa/org-odt-20111010/contrib/odt/tests/org-mode-un= icorn.png' This is a bug in the Emacs core and I had fixed it in Emacs-24. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8870 The image above is the same as this: http://orgmode.org/img/org-mode-unicorn.png One can also copy a "good" png image on the local system, re-name it as org-mode-unicorn.png and copy it to the test.org dir. >> I have uploaded a new org-odt-20111010.tar here. >> >> ,----[ C-h v package-archives RET ] >> | package-archives is a variable defined in `package.el'. >> | Its value is >> | (("gnu" . "http://elpa.gnu.org/packages/") >> | ("org-odt" >> | . "http://repo.or.cz/w/org-mode/org-jambu.git/blob_plain/HEAD:/package= s/")) > The above gives me the error: "404 - Cannot find file". > So, I used: > http://repo.or.cz/w/org-mode/org-jambu.git/blob/HEAD:/packages/ You will get the 404 error if you browse to the above URL say in firefox. Nonetheless you will be still be able to install with M-x list-packages RET etc etc route without any issues.=20 > BTW: when I used org-jambu.git AND nxhtml that is part of EmacsW32, > I managed to generate a test.dot file that was misformed at: > "" > > " Please refer to @<text:sequence-ref > text:reference-format=3D"category-and-value" text:ref-name=3D"
class=3D"figure"> >

3D"fig:1024"

>
">
>

3D"fig:1024"

>
for further information. > " This seems a mish-mash of html and odt markups. > I suppose this is due to the schema that comes with nxhtml in > EmacsW32. If I go by this post by Lennart http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00783.html I would assume that there is a "very old" org-odt.el that is bundled with nxhtml distribution. So an "undesirable" interference from nxhtml/EmacsW32 cannot be totalled ruled out. Unless you have a very strong reason to use EmacsW32, I would recommend that you switch to "official" builds from gnu.org. http://alpha.gnu.org/gnu/emacs/windows/?C=3DM;O=3DD Jambunathan K. --=20