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

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?  

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

,----
|       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

----------------------------------------------------------------

Load the above file within Emacs.

  M-x eww http://www.w3.org/TR/xml-entity-names/byalpha.html RET

or 

  M-x browse-url-emacs RET
  http://www.w3.org/TR/xml-entity-names/byalpha.html RET
  
  M-x load-library RET shr RET 
  M-x shr-render-buffer RET

Write the resulting buffer to an Org buffer or a text file. Then C-s for
the unicode codepoint, C-a to get the entity name.  You are done.

  reply	other threads:[~2013-09-02 12:56 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 [this message]
2013-09-02 13:48           ` Rasmus
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=878uzfs7lk.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).