emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [new exporter] Problems with entities
Date: Mon, 27 Aug 2012 12:02:09 +0200	[thread overview]
Message-ID: <ywod7gskslem@de.bosch.com> (raw)
In-Reply-To: <876284adcp.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 27 Aug 2012 11:33:26 +0200")

Hi Nicolas,

· Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
> Thomas Holst <thomas.holst@de.bosch.com> writes:
>> While testing the new exporter we encountered problems with entities. We
>> tried to make ligations work. In LaTeX you write '\/' for a ligation
>> e.g. 'f\/ifteen'. To achieve that we set `org-entities-user':
>> #+BEGIN_SRC emacs-lisp
>>   (setq org-entities-user
>>         '("Ligatur" "\\/" nil "" "" "" ""))
>> #+END_SRC
[ ... ]
> You have defined an entity named "Ligatur". If you want to apply it
> during export, you have to write either \Ligatur or \Ligatur{}. For
> example, \alpha is correctly exported since there is:
>   ("alpha" "\\alpha" t "&alpha;" "alpha" "alpha" "α")
> in `org-entities'.
> Note that old exporter doesn't apply your entity either (entities usage
> doesn't change between both exporters). It just gives up each time he
> sees a backslash which isn't followed by a known entity name, assuming
> this will be handled by LaTeX.

thanks for explaining. I now have:

#+BEGIN_SRC emacs-lisp
  (setq org-entities-user
      '(("lig" "\\/" nil "" "" "" "")))

Now it works as expected and explained by you. There was an error in my
initial version. It was only a list not a list containing lists.

Thanks again.
Bis neulich ...

  reply	other threads:[~2012-08-27 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27  9:08 [new exporter] Problems with entities Thomas Holst
2012-08-27  9:33 ` Nicolas Goaziou
2012-08-27 10:02   ` Thomas Holst [this message]
2012-08-27 13:41     ` Nicolas Goaziou

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:

  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=ywod7gskslem@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \


* 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


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).