From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinh Nguyen Subject: Re: org-odt (Applying custom templates) Date: Tue, 28 Jun 2011 12:48:45 -0700 Message-ID: References: <81pqqxyrq5.fsf@gmail.com> <81ei7cjpuy.fsf@gmail.com> <81fwqevzgz.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbeHW-0002QO-3e for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 15:49:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbeHU-000846-6t for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 15:49:09 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:63967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbeHT-00083r-MT for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 15:49:07 -0400 Received: by bwd14 with SMTP id 14so635074bwd.0 for ; Tue, 28 Jun 2011 12:49:06 -0700 (PDT) In-Reply-To: <81fwqevzgz.fsf_-_@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Jambunathan K Hi Jumba, Sorry for testing this out late. Been busy. See my comments below. On Wed, Mar 23, 2011 at 4:38 AM, Jambunathan K wro= te: >> In addition, is there a way to set up a header, or some text, before >> the title, similar to the attached file (including the image)? =C2=A0I >> don't mind if the solution is pasting some raw xml code in the >> org-mode file, as this part will remain constant. > > What is required is that you extract styles.xml and any images files > =C2=A0that it referenced from your odt/ott file and instruct org-odt.el t= o > =C2=A0package these files in the resulting directory. You can do these > =C2=A0manually. > > I also have a prototype code (that is not committed yet) that achieves > the above functionality. Suppose I have styles.xml and ./Pictures/10000000000002740000034B83A526F3.png in the working directory of my org file, both extracted from my original odt file that I did myself. What exactly must I do to get these files packaged into the generated odt file? How do I set org-export-odt-styles-file in my org file? Thanks! -- Vinh