emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Holger Wenzel <drholgerwenzel@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: export html -> doc
Date: Mon, 20 Dec 2010 10:54:05 +0100	[thread overview]
Message-ID: <87ei9czs5e.fsf@googlemail.com> (raw)
In-Reply-To: 87aak0ye4e.fsf@ericabrahamsen.net

Hi Eric,

> I know this is an awfully tired topic, and I'll be thrilled when the odt
> exporter is ready, but in the meantime exporting to HTML and then either
> opening or copying/pasting into OpenOffice is not working for me, while
> it does seem to be working for other people.
>
> I'm on Ubuntu, Emacs 23.3 and yesterday's org-mode. I export to html
> just fine. Then I figure I have two options: open the html directly with
> OpenOffice, or copy and paste the text. Opening the html directly just
> shows me an unrendered html document. Copying and pasting into
> OpenOffice turns all the italics into funny little grey boxes (one on
> either side of the meant-to-be-italics text), and no actual italics.


Did you try to suppress the xml declaration in the exported html?

#+OPTIONS: org-export-html-xml-declaration (quote (("php" . "<?php echo \"<?xml version=\\\"1.1\\\" encoding=\\\"%s\\\" ?>\"; ?>")))

At least MS-Word and Chromium don't seem to like that xml version line
and refuse to render the document.


Hth,

Holger

  reply	other threads:[~2010-12-20 10:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  9:42 export html -> doc Eric Abrahamsen
2010-12-20  9:54 ` Holger Wenzel [this message]
2010-12-20 11:37   ` Christian Moe
2010-12-21  2:04     ` Eric Abrahamsen
2010-12-21  8:12       ` Christian Moe
2010-12-21  8:21         ` Eric Abrahamsen
2010-12-21  9:27           ` Christian Moe
2010-12-21  9:54             ` Eric Abrahamsen
2010-12-20 11:05 ` William Gardella
2010-12-20 14:19 ` export html -&gt; doc Chris Thompson

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=87ei9czs5e.fsf@googlemail.com \
    --to=drholgerwenzel@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).