[Top][All Lists]

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

Re: [O] Testing org-export-as-odt-and-open

From: Jambunathan K
Subject: Re: [O] Testing org-export-as-odt-and-open
Date: Mon, 10 Oct 2011 17:24:12 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

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) "„
> [label save-match-data-internal fmt2 category seqno fmt1 signal
> cl-assertion-failed match-data ((byte-code "ÁÂ\"‡"
> [save-match-data-internal set-match-data evaporate] 3)) ...] 9], 2

This is a bug in the odt exporter.  I have fixed it in

> Not a PNG file:
> e:/User/home/.emacs.d/elpa/org-odt-20111010/contrib/odt/tests/org-mode-unicorn.png'
This is a bug in the Emacs core and I had fixed it in Emacs-24. See

The image above is the same as this:

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:/packages/";))
> 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. 

> 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:
> "</div></text:sequence-ref>"
> " Please refer to @&lt;text:sequence-ref
> text:reference-format="category-and-value" text:ref-name="<div
> class="figure">
> <p><img src="1024" alt="fig:1024" width="300" height="300" /></p>
> </div>"&gt;<div class="figure">
> <p><img src="1024" alt="fig:1024" width="300" height="300" /></p>
> </div></text:sequence-ref> 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

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.


Jambunathan K.

reply via email to

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