From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: How to convert to odt with specific styles? Date: Thu, 03 Jan 2013 10:39:32 +0530 Message-ID: <87d2xmc0oj.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqczq-0006bZ-P0 for emacs-orgmode@gnu.org; Thu, 03 Jan 2013 00:05:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tqczo-0001tz-Mj for emacs-orgmode@gnu.org; Thu, 03 Jan 2013 00:05:38 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:44756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqczo-0001tm-Fy for emacs-orgmode@gnu.org; Thu, 03 Jan 2013 00:05:36 -0500 Received: by mail-pa0-f43.google.com with SMTP id fb10so8376769pad.2 for ; Wed, 02 Jan 2013 21:05:35 -0800 (PST) In-Reply-To: (joakim@verona.se's message of "Tue, 01 Jan 2013 18:59:48 +0100") 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: joakim@verona.se, Tom Davey Cc: emacs-orgmode@gnu.org joakim@verona.se writes: > Hello list, > > I have an article I've written in Org. To submit it to the publisher, it > needs to follow a particular ms word style template. I am not much familiar with MS Word formats. I am wondering whether it is possible to convert MS Word Templates and MS Word documents in to their OpenDocument equivalents (*.odt and *.ott) and yet /retain/ the style names around the round-trip. Note that the _style names_ should be stable. In LibreOffice terms, these are the style names that you see on the rightmost window of the screenshot that I posted earlier [1]. Sometimes documents can be re-written using automatic styles [2]. The converted document will look like the original but internally they may be relying on automatically generated styles [3]. What sort of styles these Word documents rely on (typically). I mean Character styles, Paragraph styles, Page Styles, List styles, Table-* related styles etc.[4q] If someone can create a personal word template and willing to experiment with back-and-forths between LibreOffice and MS Word formats, I am willing to exchange notes with him/her and amend the exporter to accommodate new requirements. I don't have access to MS Word but only LibreOffice that comes bundled with Debian. [1] http://lists.gnu.org/archive/html/emacs-orgmode/2012-12/msg00116.html [2] Automatic styles go in to content.xml and their names end with a numeric suffix. [3] If you are a programmer, think of cloning a style-name under a new name and referencing it Vs referencing the original stylename. [4] Character and Text styles may not pose much problems compared to other styles and something little thing > I hope to achieve this with the odt exporter. Reading the org manual it > seems the style sheet that the odt exporter uses will need to contain a > couple of hard coded format names. In my case I would like map the org > factory default format names to other names as defined in the template > given to me by the publisher. > > What is simplest way to achieve this? At the moment I'm changing the > formats by hand so nearly any other method would be more > efficient. Also, I'm more proficient with elisp than wordprocessors. > > TIA --