emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Export as HTML does not preserve nonstandard entities as TODO signs
Date: Sun, 16 Oct 2011 10:05:16 +0200	[thread overview]
Message-ID: <2326842.D5jf4xeaZi@fluss> (raw)
In-Reply-To: <4E9A7C0C.4060007@christianmoe.com>

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

Hi Cristian, 

Am Sonntag, 16. Oktober 2011, 08:39:08 schrieb Christian Moe:
> On 10/14/11 5:47 PM, Arne Babenhauserheide wrote:
> > I started using ✔ and ❢ as replacement for DONE und TODO and I realized
> > that they get replaced by an underscore (_) in HTML output. Since I
> > really like using symbols for TODO and DONE¹, I wanted to ask, if this
> > is a bug.

> I can't reproduce this. After adding your example to a test buffer and
> re-saving the buffer, I get the expected html export. (Before
> resaving, the buffer was still exported in iso-8859-1, producing
> garbage -- but not underscores -- in html; after resaving, in utf-8.)
> 
> With point in your example buffer, what does `C-h v
> buffer-file-coding-system' say?

Its value is utf-8-unix
Local in buffer emacs-plan.org; global value is utf-8

What I get is output like this: 

<h3 id="sec-11-10"><span class="section-number-3">11.10</span> <span 
class="done ✔"> _</span> Müll runter </h3>

(copied to the clipboard)

Interesting is that ✔ gets correctly exported as class name, but not as 
identifier in the text. 

Best wishes, 
Arne

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2011-10-16  8:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14 15:47 Export as HTML does not preserve nonstandard entities as TODO signs Arne Babenhauserheide
2011-10-16  6:39 ` Christian Moe
2011-10-16  8:05   ` Arne Babenhauserheide [this message]
2011-10-16 14:33     ` Christian Moe
2011-10-17  5:35       ` Arne Babenhauserheide
2011-10-16 14:36     ` [PATCH] " Christian Moe
2011-12-11 17:57       ` Bastien
2011-12-11 19:38         ` Christian Moe

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=2326842.D5jf4xeaZi@fluss \
    --to=arne_bab@web.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.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).