From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shwouchk Subject: Re: Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits Date: Sat, 15 Mar 2014 18:31:57 +0200 Message-ID: References: <5309DA59.3070905@gmail.com> <87eh24as9l.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdc80d8cc402004f4a7ba54 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOrVU-0002lK-D1 for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 12:32:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOrVS-0000dx-Hc for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 12:32:20 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:36662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOrVS-0000dj-A3 for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 12:32:18 -0400 Received: by mail-qg0-f47.google.com with SMTP id 63so11348529qgz.6 for ; Sat, 15 Mar 2014 09:32:17 -0700 (PDT) In-Reply-To: <87eh24as9l.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org --047d7bdc80d8cc402004f4a7ba54 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bastien, Aaaah, thanks, it works great! I looked for hours for a setting of the sort... I do still think that this is a bug however: when I don't use the setting you provided and don't use pretty-entities, after I place the sub/superscript sign, the point gets places inside the braces. If I do use pretty-entities however, the cursor gets placed *after* the brace pair, and this is what causes problems - I would expect the point to get inside the brace pair, as at least to my understanding, pretty-entities should change the way things look, but not how they behave... What do you think? Other than that, I have a feature suggestion that I'm throwing out there: It would be really cool I think it would be really cool if there was an option to expand sub/superscript braces when the point is near them. Other than that, I also noticed that after I export to PDF, my kill-ring gets filled with a bunch of tex and/or output pieces. Is this expected/known behaviour or should I investigate it further on my end? Thanks, Kosta -- Kliakhandler Kosta Contact: +972-547-567-052 +1-347-281-7218 kosta@slumpy.org http://slumpy.org )=C2=B0) )=C2=B0( (=C2=B0( On Sat, Mar 15, 2014 at 8:29 AM, Bastien wrote: > Hi, > > you want to set > > (setq org-pretty-entities-include-sub-superscripts nil) > > before using `org-cdlatex-mode'. > > HTH, > > -- > Bastien > --047d7bdc80d8cc402004f4a7ba54 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Bastien,

Aaaah, thanks, it works great!
<= div class=3D"gmail_default" style=3D"font-family:times new roman,serif;font= -size:large;color:#993300"> I looked for hours for a setting of the sort...

I do still think that this is a bug however: when I don't use the setti= ng you provided and don't use pretty-entities, after I place the sub/su= perscript sign, the point gets places inside the braces. If I do use pretty= -entities however, the cursor gets placed *after* the brace pair, and this = is what causes problems - I would expect the point to get inside the brace = pair, as at least to my understanding, pretty-entities should change the wa= y things look, but not how they behave... What do you think?

Other tha= n that, I have a feature suggestion that I'm throwing out there: It wou= ld be really cool
I think it would be really cool if there was an= option to expand sub/superscript braces when the point is near them.

Other tha= n that, I also noticed that after I export to PDF, my kill-ring gets filled= with a bunch of tex and/or output pieces. Is this expected/known behaviour= or should I investigate it further on my end?

Thanks,
Kosta


--
Kliakhandler Kosta<= br>=C2=A0 =C2=A0 =C2=A0=C2=A0 Contact:
+972-547-567-052
=C2=A0+1-347-= 281-7218
kosta@sl= umpy.org
=C2=A0http:= //slumpy.org
=C2=A0 =C2=A0 =C2=A0=C2=A0 )=C2=B0) )=C2=B0( (=C2=B0(


On Sat, Mar 15, 2014 at 8:29 AM, Bastien= <bzg= @gnu.org> wrote:
Hi,

you want to set

(setq org-pretty-entities-include-sub-superscripts nil)

before using `org-cdlatex-mode'.

HTH,

--
=C2=A0Bastien

--047d7bdc80d8cc402004f4a7ba54--