Hi Nicolas,

· Nicolas Goaziou <n.goaz...@gmail.com> wrote:
> Hello,
>
> Thomas Holst <thomas.ho...@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 "" "" "" "")))
#+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

Reply via email to