From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul R Subject: Re: Exporting for word processors Date: Tue, 12 May 2009 09:33:06 +0200 Message-ID: <87ab5iepxp.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3mUI-00041K-IG for emacs-orgmode@gnu.org; Tue, 12 May 2009 03:33:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3mUD-000405-5X for emacs-orgmode@gnu.org; Tue, 12 May 2009 03:33:17 -0400 Received: from [199.232.76.173] (port=33835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3mUC-0003zy-VV for emacs-orgmode@gnu.org; Tue, 12 May 2009 03:33:13 -0400 Received: from mx20.gnu.org ([199.232.41.8]:46042) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3mUC-0000c7-CB for emacs-orgmode@gnu.org; Tue, 12 May 2009 03:33:12 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3mUA-0004xC-KT for emacs-orgmode@gnu.org; Tue, 12 May 2009 03:33:10 -0400 Received: by ewy6 with SMTP id 6so4184482ewy.42 for ; Tue, 12 May 2009 00:33:08 -0700 (PDT) In-Reply-To: (Jeffrey Windsor's message of "Fri, 8 May 2009 15:10:43 -0400") 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: windsor.10@osu.edu Cc: emacs-orgmode@gnu.org Hi, Jeffrey> Can anyone help me out? I suspect that docbook is the key, but Jeffrey> I've tried to find an answer there and am flummoxed by the Jeffrey> docbook documentation. Indeed, you can use docbook and something like docbook2odf to convert to something OpenOffice.org can read. You'll have to experiment, I really hope this will work well because that's what docbook has been designed for. You can also directly write to ODT, I've done such an export filter for emacs muse some time ago, I can't remember if I published it somewhere, but basically it is really simple : - start OpenOffice and write some dummy text and apply paragraph style to them. Make sure you use every type of structure you will need later (lists, titles ...). - tweak your styles to suit your tastes - save file somewhere as template.odt - odt is a zipped directory, so unzip the file and look inside, you will find something like content.xml, read it carefully, so you will know how to write it later. Now write an exporter that can be customized to use a given =C2=AB template.odt =C2=BB file. It will first unzip this file, then replace content.xml by a newly generated content.xml from your org file, then zip back the whole directory and voila. --=20 Paul