[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [new exporter] Problems with entities
From: |
Thomas Holst |
Subject: |
Re: [O] [new exporter] Problems with entities |
Date: |
Mon, 27 Aug 2012 12:02:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
Hi Nicolas,
· Nicolas Goaziou <address@hidden> wrote:
> Hello,
>
> Thomas Holst <address@hidden> 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" "α")
>
> 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 "" "" "" "")))
#+END_SRC
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 ...
Thomas