* Exporting HTML to MS Word
@ 2010-06-02 13:31 Russell Adams
2010-06-02 14:23 ` Sebastian Rose
0 siblings, 1 reply; 2+ messages in thread
From: Russell Adams @ 2010-06-02 13:31 UTC (permalink / raw)
To: emacs-orgmode
FYI,
I've found with recent versions Word 2003 fails to open an HTML
export. It opens it in XML mode which none of my end users understand.
If I delete the XML header at the top, and make the first line the
<html> tag, it works fine.
Perhaps that should be configurable in the export template?
Thanks.
------------------------------------------------------------------
Russell Adams RLAdams@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Exporting HTML to MS Word
2010-06-02 13:31 Exporting HTML to MS Word Russell Adams
@ 2010-06-02 14:23 ` Sebastian Rose
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2010-06-02 14:23 UTC (permalink / raw)
To: emacs-orgmode
Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
> FYI,
>
> I've found with recent versions Word 2003 fails to open an HTML
> export. It opens it in XML mode which none of my end users understand.
>
> If I delete the XML header at the top, and make the first line the
> <html> tag, it works fine.
>
> Perhaps that should be configurable in the export template?
M-x customize-variable RET org-export-html-xml-declaration RET
and set it to an empty string?
If you need to remove the the DOCTYPE too, you could use the
`org-export-html-final-hook' like this:
(add-hook 'org-export-html-final-hook
(lambda ()
(let ((kill-whole-line t))
(goto-char (point-min))
(kill-line 2))))
HTH,
Sebastian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-02 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 13:31 Exporting HTML to MS Word Russell Adams
2010-06-02 14:23 ` Sebastian Rose
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.