[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-pretty-entities and org-cdlatex
From: |
Thomas Holst |
Subject: |
Re: [O] org-pretty-entities and org-cdlatex |
Date: |
Fri, 7 Sep 2012 10:19:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
Hi,
· Giovanni Ridolfi <address@hidden> wrote:
> Da: Thomas Holst <address@hidden>
> Inviato: Mercoledì 5 Settembre 2012 12:20
>>· Carsten Dominik <address@hidden> wrote:
>
>>> On 5.9.2012, at 11:08, Thomas Holst wrote:
>>
>>>> Hello,
>>>
>>>> there is a different behaviour of sub (_) and superscripts (^) depending
>>>> on =org-pretty-entities=. When I type:
>>>>
>>>> =ab_cdef=
>>>>
>>>> inside LaTeX fragments with =org-pretty-entities= enabled I get:
>>>>
>>>> \( ab_{c}def \)
>>>> ^^^^
>>>>
>>>> With =org-pretty-entities= disabled I get:
>>>>
>>>> \( ab_{cdef} \)
>>>> ^^^^
>>>
>>> I am not able to reproduce this, I get the second behavior always.
>
>> I also tested it with emacs 23.2 on WinXP.
>
>> Maybe it is a problem related to emacs on Windows.
> Hi, Thomas and Carsten,
> [ confirms behaviour on Windows ]
> Giovanni
yesterday I tested it under Ubuntu 12.04 and emacs 23.2.
Typing =ab_cdef= inside a LaTeX fragment results in
\( ab_{c}def \) with org-pretty-entities enabled and
\( ab_{cdef} \) with org-pretty-entities disabled
I even tested it in a terminal with emacs 23.2.1 under cygwin. Same
result.
I tried to debug this. But my elisp is too limited to get a clue what is
going on here.
Thanks for looking into this.
--
Bis neulich ...
Thomas