From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lennart Borgman Subject: Re: How do I convert org to OpenOffice? Date: Tue, 2 Nov 2010 21:10:01 +0100 Message-ID: References: <87hbh85tev.fsf@MagnumOpus.khem> <878w2k5r8b.fsf@MagnumOpus.khem> <10354.1285789401@alphaville.usa.hp.com> <87sk0sux62.fsf@MagnumOpus.khem> <14934.1285793982@alphaville.usa.hp.com> <81k4kvbl2m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57558 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDNBb-00085Z-NY for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 16:10:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDNBY-0000wt-6v for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 16:10:25 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:48886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDNBY-0000wp-3L for emacs-orgmode@gnu.org; Tue, 02 Nov 2010 16:10:24 -0400 Received: by vws18 with SMTP id 18so113695vws.0 for ; Tue, 02 Nov 2010 13:10:23 -0700 (PDT) In-Reply-To: <81k4kvbl2m.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: nicholas.dokos@hp.com, Org Mode On Tue, Nov 2, 2010 at 8:08 PM, Jambunathan K wrot= e: > > Lennart Hi Jambunathan, > Interesting that two people are working on org->OpenOffice exporter. The > other person is me. > > I made this announcement roughly one week in to the project. > - http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00372.html Ah, very good. I missed that one. I started this thread a month ago and hoped there where more people interested. >> I have struggled a bit with various ways to export from org-mode to >> odt. (Thanks for all the tips here.) >> >> And it was not that fun when things gots complicated so I wonder if it >> is better with a direct export. I took the rudimentary exporter in >> muse and started to work a bit on it. I have not done very much yet, >> just the part that puts all things together once the pieces (for >> example content.xml) are there. You can find what I have done so far >> in util/org-odt.el in the nXhtml repository. > > I started with org-html.el. > > I am attaching a test.org and test.odt from my work area (*as it > is*). You will see that following things are taking shape: > > 1. Table Of Contents (Still not a 'native' Table Of Contents) > 2. Various Character Styles > 3. Various Paragraph Styles > 4. Lists - Numbered, Bulleted, Description > 5. Links - Internet Links, Internal Links as Bookmark/Xref > 6. An embedded image > 7. A simple table with a caption and numbering (you can see that xref to > =C2=A0 table has apparently broken) > 8. Various kinds of Footnotes > > If you look inside the odt file you will see that meta.xml also taking > shape. > > I have adopted an approach of scanning various features rather than > solidifying the given feature. So the appearance could be flattering. > > Jambunathan K. > > Attachments: test.org (as plain), test.odt (as zip) It seems like we started from opposite corners so we can perhaps just combine what we have done. I have just done a small part, the zipping part, a bit more carefully (though it still need more work to be coordinated with what we already have in Emacs). Can we coordinate what we do in some way? Maybe a temporary repository?