emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Gil Brandao <madskaddie@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: any idea how to convert org file to MS WORD an	retain	text structure?
Date: Tue, 06 Jul 2010 20:25:27 +0100	[thread overview]
Message-ID: <87pqz0xviw.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <loom.20100706T185229-18@post.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

On Tue, 6 Jul 2010 16:55:35 +0000 (UTC), Gil Brandao <madskaddie@gmail.com> 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.

[-- Attachment #2: Type: text/plain, Size: 75 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-07-06 19:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 12:27 any idea how to convert org file to MS WORD an retain text structure? Rainer Stengele
2010-06-15 13:01 ` Puneeth Chaganti
2010-06-15 13:45   ` Giovanni Ridolfi
2010-06-15 13:50   ` Rainer Stengele
2010-06-15 13:51   ` Eric S Fraga
2010-06-15 15:16   ` Russell Adams
2010-06-15 16:01     ` Srinivas
2010-06-15 20:16       ` Russell Adams
2010-06-16 13:32     ` Rainer Stengele
2010-06-15 13:01 ` moabi2000
2010-06-15 14:05 ` Christian Egli
2010-06-15 16:45   ` Matt Lundin
2010-07-06 16:55 ` Gil Brandao
2010-07-06 19:25   ` Eric S Fraga [this message]
2010-07-06 23:48 ` Torsten Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqz0xviw.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=madskaddie@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).