emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Re: Add \EUR to `org-html-entities'
Date: Thu, 03 Dec 2009 16:42:57 +0100	[thread overview]
Message-ID: <zf.upnocmg2hdq.fsf@zeitform.de> (raw)
In-Reply-To: 72EE83CC-7BA4-4AE2-84C3-2AF566C9CE37@gmail.com

Hi Carsten,

Carsten Dominik <carsten.dominik@gmail.com> wrote:

> On Dec 2, 2009, at 8:38 AM, Ulf Stegemann wrote:
>
>> is there anything that speaks against adding
>>
>> --8<--------------------------snip-------------------------->8---
>>
>> ("EUR" . "&euro;")
>>
>> --8<--------------------------snap-------------------------->8---
>>
>> to `org-html-entities'? \EUR{} is provided by the Marvosym package and
>> &euro; a valid (X)HTML representation of the euro sign. Maybe ever
>> better would be to add
>
> I would like to minimize external dependencies.

well, that's something that speaks against it :)

> Which distributions carry this package?

Marvosym comes with my TeX Live LaTeX distro and used to come with teTeX
AFAIR. I had the impression the package was rather widely used but I
maybe wrong.

>> ("EURdig" . "&euro;")
>> ("EURhv" . "&euro;")
>> ("EURcr" . "&euro;")
>> ("EURtm" . "&euro;")
>
> I do not understand the purpose of these extra symbols, and why
> they are all equal in HTML????

While \EUR becomes the `official' euro symbol, \EURdig is a variant of
that with the same width as digits, \EURhv is a euro symbol that fits to
Helvetica, \EURcr dto. to Courier and \EURtm dto. to Times. This makes a
difference in LaTeX but is all the same in HTML: &euro;.

Anyway, adding those symbols is not strictly necessary since everybody
can use the eurosym package (where \euro{} command comes from). I like
the Marvosym package better but I can also stick to what I currently do:

#+LATEX_HEADER: \newcommand{\euro}{\EUR}

Ulf

  reply	other threads:[~2009-12-03 15:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-02  7:38 Add \EUR to `org-html-entities' Ulf Stegemann
2009-12-03 14:38 ` Carsten Dominik
2009-12-03 15:42   ` Ulf Stegemann [this message]
2009-12-16 23:17     ` Carsten Dominik
2009-12-16 23:25       ` Nick Dokos
2009-12-16 23:38         ` Carsten Dominik
2009-12-17  9:04       ` Org Entities (was: Add \EUR to `org-html-entities') Ulf Stegemann
2009-12-17 12:49         ` Carsten Dominik
2009-12-17 16:06           ` Org Entities Ulf Stegemann

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=zf.upnocmg2hdq.fsf@zeitform.de \
    --to=ulf-news@zeitform.de \
    --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).