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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode