emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: any idea how to convert org file to MS WORD an retain text


From: Srinivas
Subject: [Orgmode] 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)
User-agent: Loom/3.14 (http://gmane.org/)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]