From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: LaTeX fragment not generated in electric-quote-mode [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.1.50/lisp/org/)] Date: Sun, 31 Jul 2016 00:11:32 +0200 Message-ID: <87k2g2dbe3.fsf@saiph.selenimh> References: <87twf7vggn.fsf@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTcTn-0002Mu-0u for emacs-orgmode@gnu.org; Sat, 30 Jul 2016 18:11:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTcTk-0001yL-TO for emacs-orgmode@gnu.org; Sat, 30 Jul 2016 18:11:33 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:50033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTcTk-0001yH-Mo for emacs-orgmode@gnu.org; Sat, 30 Jul 2016 18:11:32 -0400 In-Reply-To: <87twf7vggn.fsf@localhost.localdomain> (Wouter Beek's message of "Sat, 30 Jul 2016 07:32:24 +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" To: Wouter Beek Cc: emacs-orgmode@gnu.org Hello, Wouter Beek writes: > With =E2=80=98electric-quote-mode=E2=80=99 enabled, =E2=80=98org-preview-= latex-fragment=E2=80=99 no > longer works if the LaTeX preview appears _directly before_ an elextric > right double quote. Reproducible case: > > $ emacs -Q > M-x electric-quote-mode > $A$'' > M-x org-preview-latex-fragment > > (Notice that after typing $A$'' into the buffer, the > '' is changed to =E2=80=9D by electric-quote-mo= de.) > > Expected: The =E2=80=98A=E2=80=99 to be displayed as a LaTeX-generated in= line image. > > Observed: The image is not generated. I'm not using Emacs development version so I cannot test this. However I suggest to 1. Upgrade Org to at least current stable release (8.3.5) 2. Try using \(...\) instead of $...$. Regards, --=20 Nicolas Goaziou