From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: Re: org-pretty-entities and org-cdlatex Date: Fri, 7 Sep 2012 10:19:41 +0200 Message-ID: References: <5853AD81-AFD8-4A2B-B688-E9B928423A4A@gmail.com> <1346843404.92786.YahooMailNeo@web29806.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9tnC-0007EJ-0A for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 04:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9tn5-0003rq-Nh for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 04:19:57 -0400 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]:54642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9tn5-0003ri-HQ for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 04:19:51 -0400 In-Reply-To: <1346843404.92786.YahooMailNeo@web29806.mail.ird.yahoo.com> (Giovanni Ridolfi's message of "Wed, 5 Sep 2012 13:10:04 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: "Holst Thomas (DGS-EC/ESE4)" , org-mode mailing list Hi, =B7 Giovanni Ridolfi wrote: > Da: Thomas Holst > Inviato: Mercoled=EC 5 Settembre 2012 12:20 >>=B7 Carsten Dominik wrote: > >>> On 5.9.2012, at 11:08, Thomas Holst wrote: >> >>>> Hello, >>>=20 >>>> there is a different behaviour of sub (_) and superscripts (^) depen= ding >>>> on =3Dorg-pretty-entities=3D. When I type: >>>>=20 >>>>=A0 =3Dab_cdef=3D >>>>=20 >>>> inside LaTeX fragments with =3Dorg-pretty-entities=3D enabled I get: >>>>=20 >>>>=A0 \( ab_{c}def \) >>>> =A0 =A0 =A0 =A0 ^^^^ >>>>=20 >>>> With =3Dorg-pretty-entities=3D disabled I get: >>>>=20 >>>>=A0 \( ab_{cdef} \) >>>>=A0 =A0 =A0 =A0 =A0 ^^^^ >>> >>> I am not able to reproduce this, I get the second behavior always. > >> I also tested it with emacs 23.2 on WinXP.=20 > >> 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 =3Dab_cdef=3D 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. --=20 Bis neulich ... Thomas