emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Eric S Fraga
Subject: Re: [Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Date: Tue, 06 Jul 2010 20:25:27 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Tue, 6 Jul 2010 16:55:35 +0000 (UTC), Gil Brandao <address@hidden> wrote:
> 
> Rainer Stengele <rainer.stengele <at> diplan.de> writes:
> 
> > 
> > Hi!
> > 
> > I love to edit documents in Org.
> > Unfortunately I have to finally deliver text in MS Word.
> > 
> > Any idea how to best export/convert my org file to Word?
> > 
> > I tried HTML export and then imported the html in Word but
> > I end up in an unusable xml style document which word wants an stylesheet 
> > for
> which I do not have.
> > 
> > Any help appreciated.

The problem here is the first line of an exported HTML document by
default.  You can safely delete that line and then import it into Word
or OpenOffice.  Alternatively, you can tell org not to generate that
line in the first place:

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

works for me.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

reply via email to

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