From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: export html -> doc
Date: Tue, 21 Dec 2010 10:04:01 +0800 [thread overview]
Message-ID: <871v5bc25q.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 4D0F4005.2020703@christianmoe.com
On Mon, Dec 20 2010, Christian Moe wrote:
> On 12/20/10 10:54 AM, Holger Wenzel wrote:
>> 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\\\" ?>\"; ?>")))
>
> Maybe that works for a publishing setup? It doesn't for ordinary export.
>
> This does work:
>
> #+BIND: org-export-html-xml-declaration ()
That did the trick! Thank you.
One small follow-up question: this produces iso-8859-1 encoded text by
default; how do I go about asking for utf-8?
And I'll check out both pandoc and latex2rtf for more complicated
exports, thanks to all!
Eric
>
> Yours,
> Christian
>
> _______________________________________________
> 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
next prev parent reply other threads:[~2010-12-21 2:04 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
2010-12-20 11:37 ` Christian Moe
2010-12-21 2:04 ` Eric Abrahamsen [this message]
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 -> 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=871v5bc25q.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).