emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Wouter Beek <wouter@triply.cc>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87k2g2dbe3.fsf@saiph.selenimh> (raw)
In-Reply-To: <87twf7vggn.fsf@localhost.localdomain> (Wouter Beek's message of "Sat, 30 Jul 2016 07:32:24 +0200")

Hello,

Wouter Beek <wouter@triply.cc> 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

  reply	other threads:[~2016-07-30 22:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-30  5:32 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/)] Wouter Beek
2016-07-30 22:11 ` Nicolas Goaziou [this message]
     [not found]   ` <87eg6axnha.fsf@localhost.localdomain>
2016-08-15 12:25     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2g2dbe3.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=wouter@triply.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).