emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: [new exporter] Problems with entities
Date: Mon, 27 Aug 2012 11:08:44 +0200	[thread overview]
Message-ID: <ywodbohwsnvn@de.bosch.com> (raw)

Hello,

first I want to thank you all for org-mode 7.9! The list of changes is
incredible!

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

The following text is used to show the problem:

  Dies ist eine Ligatur: f\/ifteen \alpha ab\-cd.

With the old exporter the translation to LaTeX is:

  Dies ist eine Ligatur: f\/ifteen $\alpha$ ab\-cd.

Which is the expected result. With the new exporter we get:

  Dies ist eine Ligatur: f$\backslash$/ifteen $\alpha$
  ab$\backslash$-cd.

As you can see the shy hyphen is also wrong. But \alpha is exported
correctly. So I don't know what is happening here.

-- 
Bis neulich ...
  Thomas

             reply	other threads:[~2012-08-27  9:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27  9:08 Thomas Holst [this message]
2012-08-27  9:33 ` [new exporter] Problems with entities Nicolas Goaziou
2012-08-27 10:02   ` Thomas Holst
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:
  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=ywodbohwsnvn@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --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).