From: Jambunathan K <kjambunathan@gmail.com>
To: e.fraga@ucl.ac.uk
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [WIP] OpenOffice Exporter
Date: Mon, 11 Oct 2010 18:41:59 +0530 [thread overview]
Message-ID: <81hbgsub4w.fsf@gmail.com> (raw)
In-Reply-To: <8762x9uoa1.wl%ucecesf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 11 Oct 2010 09:28:06 +0100")
Hi Eric
Eric S Fraga <ucecesf@ucl.ac.uk> writes:
> On Sun, 10 Oct 2010 12:09:50 +0530, Jambunathan K <kjambunathan@gmail.com> wrote:
>>
>>
>> I am working on a Org->OpenOffice/ODT exporter.
>>
>> This is a WIP announcement. I am posting this with an intention to hear
>> of and preferably avoid any parallell efforts.
>>
>> I am basing it on org-html.el.
>>
>> As it stands now in my own work area, it can export an outline structure
>> and has support for
>>
>> 1. character styles
>> - bold, italic, underline, strikethrough, code, verbatim
>>
>> 2. paragraph styles
>> - quote, verse, center, example and source code
>>
>> 3. lists
>> - numbered, bulleted and description lists
>>
>> 4. table of contents
>>
>> Still a long a way to go ...
>
> but sounds good so far. Although org->html->OOo works fine, I would
> definitely like to remove the one unnecessary step.
Export should be as simple as C-c C-e o nothing more. That's what I have
defined as the default key binding for Open Office exporter.
> How are you going to handle images?
I like this question.
It looks like Org->html->OOo exporter falls short of expectations
atleast wrt working with images. This in itself will justify my
development efforts [1].
> I want to make sure that the document that is exported has images
> "inside" the document (as opposed to links), at least optionally, so
> that I can share documents properly. Will this be possible?
>
Short answer:
Yes it is possible.
I will make embedding images in the ODT document an optional feature.
Long answer:
I tried the Org->html>OOo route and I understand what you mean.
I 'hand edited' the resulting odt file the following way and was able to
accomplish what you desire.
1. Unzip it (dot file is just a *.zip archive)
2. Create Pictures folder within the Unzipped archive and copy over the
needed images in to that folder.
3. Fixup META-INF/manifest.xml to contain entries for the images that
moved over.
4. Update content.xml with the new path for the images.
5. Zip up the archive with an ODT extension.
6. The document is ready to be served.
Footnotes:
[1] There are some discussions about issues with cross-references +
bibliographic entries in the existing Org-><Intermediate Format>->ODT
conversion sequence.
It would be good if the users record the limitations with such export
procedures in specific details in this thread.
> Thanks,
> eric
prev parent reply other threads:[~2010-10-11 13:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-10 6:39 [WIP] OpenOffice Exporter Jambunathan K
2010-10-10 7:54 ` Russell Adams
2010-10-10 10:14 ` Jambunathan K
2010-10-11 9:35 ` Giovanni Ridolfi
2010-10-11 13:22 ` Jambunathan K
2010-10-11 14:08 ` Giovanni Ridolfi
2010-10-11 16:26 ` Jambunathan K
2010-10-12 19:26 ` Matt Price
2010-10-12 20:02 ` Karl Maihofer
2010-10-14 4:22 ` Jambunathan K
2010-10-14 8:04 ` Eric Abrahamsen
2010-10-13 1:59 ` Bernt Hansen
2010-10-13 11:30 ` Tom Short
2010-10-13 11:37 ` Bernt Hansen
2010-10-11 8:28 ` Eric S Fraga
2010-10-11 13:11 ` 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=81hbgsub4w.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/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).