Re: [Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
On Tue, 6 Jul 2010 16:55:35 + (UTC), Gil Brandao wrote: > > Rainer Stengele 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" . "\"; ?>" works for me. -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Rainer Stengele 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. > I just used latex2rtf[1] in a simple document and it performed very well :) (workflow: org->tex->rft ) Gil Brandao [1] http://latex2rtf.sourceforge.net/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Am 15.06.2010 17:16, schrieb Russell Adams: > 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 tag > - Save the html > - Open the html in Word > > It opens fine, and preserves image links, tables, formats, etc. This > saves time. I know there was a recent ML post I made on the same > topic, and there was a reply on automation which I haven't tried yet. > > Typically what's happening for me is I write a technical document in > Org, and I give it to a tech writer who uses Word to apply company > templates. They have less work to do because the Org formatting is > preserved. > > Babel and image links are a boon here! > > Thanks. > > On Tue, Jun 15, 2010 at 06:31:02PM +0530, Puneeth Chaganti wrote: >> Hi, >> >> On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele >> wrote: >>> 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. >> >> I don't have MS Word around, so I can't be sure. But, stripping off >> the the xml header [ ] and >> then opening it in OpenOffice works fine for me. I tested with a >> simple document, with a couple of sections and sub-sections and some >> unnumbered lists. >> >> >> Thanks, >> Puneeth >> >> ___ Hi, Russel thank you, that is quite perfect! As you said, Word preserves most of the formatting and pictures etc. Looks good! I'll stick with that, setting org-export-html-xml-declaration to (("html" . "") ("was-html" . "") ("php" . "\"; ?>")) which saves me the stripping off the xml header before importing to Word! Excellent! This will help me a lot to produce documents (meeting protocols) fast and easy, sharing the result through MS Word. Thanks everybody for considering! Rainer ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
On Tue, Jun 15, 2010 at 04:01:21PM +, Srinivas wrote: > 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 guess the templates they put my stuff in aren't as complex. I like that bold/italic/etc and tables come into Word preformatted. It would be terrible to have to go reapply those manually in Word. Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Christian Egli writes: > Rainer Stengele writes: > >> I love to edit documents in Org. > > I know what you mean. > >> Unfortunately I have to finally deliver text in MS Word. > > Sometimes I find myself in that situation. > >> Any idea how to best export/convert my org file to Word? > > I've used latex export followed by latex2rtf in the past. Most things > work reasonably well, other like toc don't seem to work. So some manual > fidgeting is required in the end. +1 for latex2rtf (for simple documents). For industrial-strength conversion, I'd recommend tex4ht. It has handled every LaTeX feature I've thrown at it (biblatex, toc, index, footnotes) with aplomb. http://www.tug.org/tex4ht/ You can convert tex directly to odt and then save as a doc file within OpenOffice. - Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Russell Adams 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 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" . "") ("php" . "\"; ?>" - Srinivas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Am 15.06.2010 15:01, schrieb Puneeth Chaganti: > Hi, > > On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele > wrote: >> 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. > > I don't have MS Word around, so I can't be sure. But, stripping off > the the xml header [ ] and > then opening it in OpenOffice works fine for me. I tested with a > simple document, with a couple of sections and sub-sections and some > unnumbered lists. > > > Thanks, > Puneeth > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > yes, works fine. My Windows OpenOffice 3.2.0 is not immediately able to save to "doc", not even to "odt". I have to save to "sdw", then to "odt", then after opening the "odt" the saving to "doc" is possible. I don't know why. Thanks everybody. Rainer ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?
Rainer Stengele writes: > I love to edit documents in Org. I know what you mean. > Unfortunately I have to finally deliver text in MS Word. Sometimes I find myself in that situation. > Any idea how to best export/convert my org file to Word? I've used latex export followed by latex2rtf in the past. Most things work reasonably well, other like toc don't seem to work. So some manual fidgeting is required in the end. HTH Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode