[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: LaTeX fragment not generated in electric-quote-mode [8.2.10
From: |
Nicolas Goaziou |
Subject: |
Re: [O] 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 |
Hello,
Wouter Beek <address@hidden> writes:
> With ‘electric-quote-mode’ enabled, ‘org-preview-latex-fragment’ 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 <code>$A$''</code> into the buffer, the
> <code>''</code> is changed to <code>”</code> by electric-quote-mode.)
>
> Expected: The ‘A’ to be displayed as a LaTeX-generated inline 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,
--
Nicolas Goaziou