Hi,
· Giovanni Ridolfi <[email protected]> wrote:
> Da: Thomas Holst <[email protected]>
> Inviato: Mercoledì 5 Settembre 2012 12:20
>>· Carsten Dominik <[email protected]> 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