From: Ista Zahn <istazahn@gmail.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: Rainer Stengele <rainer.stengele@online.de>,
emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>,
Jambunathan K <kjambunathan@gmail.com>
Subject: Re: New exporter (org-e-odt) not creating content.xml
Date: Tue, 27 Nov 2012 09:55:18 -0500 [thread overview]
Message-ID: <CA+vqiLHmA9GRKr_Vb_AE3kjEJ77WagBXa0KB3xs+q=BpuaQ7Og@mail.gmail.com> (raw)
In-Reply-To: <1354005623.49791.YahooMailNeo@web29805.mail.ird.yahoo.com>
Hi all,
On Tue, Nov 27, 2012 at 3:40 AM, Giovanni Ridolfi
<giovanni.ridolfi@yahoo.it> wrote:
> Hi, Ista,
>
>
> Da: Ista Zahn <istazahn@gmail.com>
> Inviato: Lunedì 26 Novembre 2012 23:44
>
>> I can't seem to get the new odt exporter working on my Windows machine
>> at work (it works fine on Linux at home).
> [...]
>
>> So it seems that the new exporter is not creating content.xml, or
>> META-INF/manifest.xml. Again this only happens on Windows. It is
>> reproducible every time, and is reproducible starting with emacs -q
>> and then loading only org and org-e-odt.
>
>>
>
>> Specifically, when I call
>> 'M-x export-dispatch o o' I get an odt archive with the following
>> contents.
>>
>> M Filemode Length Date Time File
>>- ---------- -------- ----------- -------- ----------
>> -rw-rw-rw- 39 26-Nov-2012 17:31:16 mimetype
>> drwxrwxrwx 0 26-Nov-2012 17:31:16 meta-inf/
>> -rw-rw-rw- 782 26-Nov-2012 17:31:16 meta.xml
>> -rw-rw-rw- 66559 26-Nov-2012 17:31:16 styles.xml
>>- ---------- -------- ----------- -------- ----------
>> 67380 4 files
>
> Like Rainer I cannot reproduce.
>
> what is
> - your org-version ?
'M-org-version' produces
Org-mode version N/A (N/A @ c:/Documents and
Settings/IZAHN/.emacs.d/izahn/org-mode/lisp/)
but this is orgmode from git, updated yesterday.
> - emacs version?
GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600) of 2012-08-28 on MARVIN
> - are you under cygwin ?
I have cygwin installed, but emacs is the windows version from
http://ftp.gnu.org/gnu/emacs/windows/
The OS is Windows XP professional with service pack 3.
>
> Here:
> Org-mode version 7.9.2 (d344fda @
> GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN
> Windows 7
>
> with my .emacs:
> (require 'org)
> ...
> (require 'org-export)
> (require 'org-e-odt)
I started emacs with emacs -q and evaluated the following lines with 'C-x-e':
;; Look recursively in .emacs.d for elisp files and packages
(let ((default-directory "~/.emacs.d/"))
(normal-top-level-add-to-load-path '("."))
(normal-top-level-add-subdirs-to-load-path))
;; just to make sure...
(mapc (lambda (path) (add-to-list 'load-path path))
'("~/.emacs.d/elpa/elnode-0.9.9"
"~/.emacs.d/izahn/org-mode/lisp"
"~/.emacs.d/izahn/org-mode/contrib/lisp"
"~/.emacs.d/izahn/org-ehtml/src"
"~/.emacs.d/izahn/org-ehtml/test/lisp"))
(require 'org)
(require 'org-export)
(require 'org-e-odt)
> ....
>
> I call with M-x export-dispatch 3 o o
> (3 is to select the subtree)
I also tried selecting just the subtree, with the same results, i.e.,
no content.xml
>
> With this subtree:
> -----------------------------------
> *** test
> test B /b/ *g* +Carsten+
> **** test 2
> hello
> ---------------------------------------
>
> **** *Message* buffer:
> Using vacuous schema
> Unknown LaTeX option. Forcing verbatim.
> Formatting LaTeX using verbatim
> Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/meta.xml
> Using schema c:/Users/. ./programs/emacs-o/org/etc/schema/od-schema-v1.2-cs01.rnc [2 times]
> Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/styles.xml...
> Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/styles.xml
> Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/mimetype
> Using vacuous schema
> Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/META-INF/manifest.xml...
> Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/META-INF/manifest.xml
> Saving file c:/Users/. ./AppData/Local/Temp/odt-3456fvm/content.xml...
> Wrote c:/Users/. ./AppData/Local/Temp/odt-3456fvm/content.xml
> (No changes need to be saved)
> Creating ODT file...
> Running c:/Users/. ./programs/zip/bin/zip -mX0 test.odt mimetype
> Running c:/Users/. ./programs/zip/bin/zip -rmTq test.odt .
> Created c:/Users/. ./AppData/Roaming/test.odt
> Parsing archive file...done.
My *Messages* buffer shows
Using vacuous schema
OVERVIEW
LaTeX to MathML converter not available.
Formatting LaTeX using verbatim
Wrote c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-3688Mws/meta.xml
Using schema ~/.emacs.d/izahn/org-mode/etc/schema/od-schema-v1.2-cs01.rnc
[2 times]
Saving file c:/Documents and Settings/IZAHN/Local
Settings/Temp/odt-3688Mws/styles.xml...
Wrote c:/Documents and Settings/IZAHN/Local Settings/Temp/odt-3688Mws/styles.xml
Wrote c:/DOCUME~1/IZAHN/LOCALS~1/Temp/odt-3688Mws/mimetype
Using vacuous schema
Creating ODT file...
Running zip -mX0 test.odt mimetype
Running zip -rmTq test.odt .
Created c:/Documents and Settings/IZAHN/Desktop/test.odt
Parsing archive file...done.
>
>
> **** file test.odt:
>
> M Filemode Length Date Time File
> - ---------- -------- ----------- -------- ---------------------
> -rw-rw-rw- 39 27-Nov-2012 09:23:16 mimetype
> -rw-rw-rw- 21823 27-Nov-2012 09:23:16 content.xml
> drwxrwxrwx 0 27-Nov-2012 09:23:16 meta-inf/
> -rw-rw-rw- 573 27-Nov-2012 09:23:16 META-INF/manifest.xml
> -rw-rw-rw- 818 27-Nov-2012 09:23:16 meta.xml
> -rw-rw-rw- 66559 27-Nov-2012 09:23:16 styles.xml
> - ---------- -------- ----------- -------- ---------------------
> 89812 6 files
>
My test.odt still shows
M Filemode Length Date Time File
- ---------- -------- ----------- -------- ----------
-rw-rw-rw- 39 27-Nov-2012 09:51:56 mimetype
drwxrwxrwx 0 27-Nov-2012 09:51:56 meta-inf/
-rw-rw-rw- 782 27-Nov-2012 09:51:56 meta.xml
-rw-rw-rw- 66559 27-Nov-2012 09:51:56 styles.xml
- ---------- -------- ----------- -------- ----------
67380 4 files
Also, I just noticed that a content.xml buffer is created, with what
looks like the correct content. It's just not making it into the .odt
archive!
Thanks for any further pointers!
Ista
>
> cheers,
> Giovanni
next prev parent reply other threads:[~2012-11-27 14:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 22:44 New exporter (org-e-odt) not creating content.xml Ista Zahn
2012-11-27 3:27 ` Jambunathan K
2012-11-27 8:26 ` Rainer Stengele
2012-11-27 8:40 ` Giovanni Ridolfi
2012-11-27 14:55 ` Ista Zahn [this message]
[not found] ` <87624rowx5.fsf@gmail.com>
2012-11-27 16:21 ` Fwd: " Jambunathan K
[not found] ` <CA+vqiLFWEkHWEGs7z=AvJjDOFy7HrHSqGNjj+9mgjfnQzyzYJg@mail.gmail.com>
2012-11-27 17:39 ` Jambunathan K
2012-11-27 17:46 ` Jambunathan K
2012-11-27 19:25 ` Ista Zahn
2012-11-28 15:15 ` Giovanni Ridolfi
2012-11-28 16:17 ` Ista Zahn
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='CA+vqiLHmA9GRKr_Vb_AE3kjEJ77WagBXa0KB3xs+q=BpuaQ7Og@mail.gmail.com' \
--to=istazahn@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=giovanni.ridolfi@yahoo.it \
--cc=kjambunathan@gmail.com \
--cc=rainer.stengele@online.de \
/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).