emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Srinivas <sp_us@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: any idea how to convert org file to MS WORD an	retain text structure?
Date: Tue, 15 Jun 2010 16:01:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100615T175618-227@post.gmane.org> (raw)
In-Reply-To: 20100615151632.GP32673@thinkpad.adamsinfoserv.com

Russell Adams <RLAdams <at> AdamsInfoServ.Com> writes:

> 
> I routinely have to do this. My steps are:
> 
>  - Export org to html
>  - Switch to the html export buffer (filename.html)
>  - Delete the xml lines at the top until the first line is the <html> tag
>  - Save the html
>  - Open the html in Word
> 
I follow a similar process but remove all styling as well so that Word applies 
native styles (which could come from a Word template). This allows the look 
and feel of the Word document to have its own styling independent of html/css 
styles.

I have customized org-export-html-xml-declaration as follows so that I get an 
xml declaration only for .xhtml or .php:

 '(org-export-html-xml-declaration (quote (("xhtml" . "<?xml version=\"1.0\" 
encoding=\"%s\"?>") ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" 
encoding=\\\"%s\\\" ?>\"; ?>"))))

- Srinivas

  reply	other threads:[~2010-06-15 16:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 12:27 any idea how to convert org file to MS WORD an retain text structure? Rainer Stengele
2010-06-15 13:01 ` Puneeth Chaganti
2010-06-15 13:45   ` Giovanni Ridolfi
2010-06-15 13:50   ` Rainer Stengele
2010-06-15 13:51   ` Eric S Fraga
2010-06-15 15:16   ` Russell Adams
2010-06-15 16:01     ` Srinivas [this message]
2010-06-15 20:16       ` Russell Adams
2010-06-16 13:32     ` Rainer Stengele
2010-06-15 13:01 ` moabi2000
2010-06-15 14:05 ` Christian Egli
2010-06-15 16:45   ` Matt Lundin
2010-07-06 16:55 ` Gil Brandao
2010-07-06 19:25   ` Eric S Fraga
2010-07-06 23:48 ` Torsten Wagner

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=loom.20100615T175618-227@post.gmane.org \
    --to=sp_us@yahoo.com \
    --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).