emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: kjambunathan@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch][org-entities] More symbols
Date: Mon, 02 Sep 2013 15:48:25 +0200	[thread overview]
Message-ID: <87txi3e3me.fsf@gmx.us> (raw)
In-Reply-To: <878uzfs7lk.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 02 Sep 2013 18:17:43 +0530")

Jambunathan K <kjambunathan@gmail.com> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>>> With some scripting, this pulling can be made less laborious but more
>>> complete.
>>
>> Would you be able to get the HTML entities?  Nicolas said that Org
>> "prefers" entity names due to encoding.  I can find the unicode number
>> in Emacs, but not it's name.  This is often the laborious part.
>
> Why use name when it is easier to use the numerical value?  

Don't know.  Here's a quote from earlier.  I personally didn't look
further into it.

>> I wrote:
>> 2. HTML symbols have been tested in Firefox.  In a few cases I
>>    couldn't find a pretty name (like "&pi;") in which case I've
>>    supplied the unicode number (like "&960;").  Is that OK?  (E.g. can
>>    Org produce non-uft8 HTML?)

> Nicolas wrote:
> I think it can: see `org-html-coding-system'. It may be wiser to avoid
> these symbols altogether.



> Something like &#x2014; should be good for —.  (You can get the code
> value by doing the C-u C-x = on the displayed character.)

Irrespective of encoding?

> ,----
> |       character: — (displayed as —) (codepoint 8212, #o20024, #x2014)
> |                                                               ^^^^^^
> |   name: EM DASH
> `----
>
> ----------------------------------------------------------------
>
> I see that the entity names are listed in
> http://www.w3.org/TR/xml-entity-names/byalpha.html

Right.

Are we having (huge) gaps somewhere worth fixing?

–Rasmus

-- 
This space is left intentionally blank

  reply	other threads:[~2013-09-02 13:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18 15:56 [patch][org-entities] More symbols Rasmus
2013-08-19  8:55 ` Nicolas Goaziou
2013-08-28 11:38   ` Rasmus
2013-09-01 12:57     ` Jambunathan K
2013-09-02 11:30       ` Rasmus
2013-09-02 12:47         ` Jambunathan K
2013-09-02 13:48           ` Rasmus [this message]
2013-08-31 16:02   ` Rasmus
2013-08-31 16:19     ` [patch] Remove dependency on latexsym (was: [patch][org-entities] More symbols) Rasmus
2013-09-01 12:34       ` [patch] Remove dependency on latexsym Nicolas Goaziou
2013-09-01 12:33     ` [patch][org-entities] More symbols Nicolas Goaziou
2013-09-02 11:31       ` Rasmus

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=87txi3e3me.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@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).