emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Eric Belpaire <eric.belpaire@orange.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Testing org-export-as-odt-and-open
Date: Mon, 10 Oct 2011 17:24:12 +0530	[thread overview]
Message-ID: <81aa99jc4b.fsf@gmail.com> (raw)
In-Reply-To: <4E929B0C.1020901@orange.fr> (Eric Belpaire's message of "Mon, 10 Oct 2011 09:13:16 +0200")


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) "\b„
> [label save-match-data-internal fmt2 category seqno fmt1 signal
> cl-assertion-failed match-data ((byte-code "Á\bÂ\"‡"
> [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-unicorn.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=8870

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:/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
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=M;O=D

Jambunathan K.
-- 

      reply	other threads:[~2011-10-10 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-24 22:41 Testing org-export-as-odt-and-open Eric Belpaire
2011-09-25 19:08 ` Jambunathan K
2011-09-26 22:13   ` Eric Belpaire
2011-10-09 16:23   ` Eric Belpaire
2011-10-09 19:51     ` Jambunathan K
2011-10-10  7:13       ` Eric Belpaire
2011-10-10 11:54         ` Jambunathan K [this message]

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=81aa99jc4b.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.belpaire@orange.fr \
    /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).