emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: no math-mode detection for align-environment [9.3.7 (9.3.7-13-ge62ca4-elpaplus @ /home/stefi/.emacs.d/elpa/org-plus-contrib-20200713/)]
@ 2020-07-14 11:49 Stefi
  2020-07-29  3:12 ` Kyle Meyer
  0 siblings, 1 reply; 10+ messages in thread
From: Stefi @ 2020-07-14 11:49 UTC (permalink / raw)
  To: emacs-orgmode

Hi there,

I recently updated my emacs packages and noticed that \begin{align*}
does not trigger math-mode detection any more, so org-cdlatex does not
work. However, begin{equation} still does trigger the math-mode
detection. I have read the documentation of
"org-inside-LaTeX-fragment-p" and found something about matchers, but
nothing about equation or align environment and why it might be treated
differently for math-mode detection.

My test-file.org:
----8<---------8<---------8<---------8<-----

* blabla
 \begin{equation}
\label{eq:1} \frac{}{}
test_{cds} \frac{}{}
\end{equation}

\begin{align}
\label{eq:2}
test$_d$ fr
\end{align}

$\frac{}{} fds_{fdsf} \frac{}{}$

\begin{align*}
fr
\end{align*}


----8<---------8<---------8<---------8<-----

- detection works for: \begin{equation}, $$, \[\] (not in testfile)
- detection does not work for: \begin{align}, begin{align*}; subscript _
  does insert extra $_{}$, which it should not in math mode, and fr does
  not get expanded to \frac{}{}

Emacs  : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
 of 2020-05-19
Package: Org mode version 9.3.7 (9.3.7-13-ge62ca4-elpaplus @
/home/stefi/.emacs.d/elpa/org-plus-contrib-20200713/)


Kind regards,
stefi


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-29 13:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14 11:49 Bug: no math-mode detection for align-environment [9.3.7 (9.3.7-13-ge62ca4-elpaplus @ /home/stefi/.emacs.d/elpa/org-plus-contrib-20200713/)] Stefi
2020-07-29  3:12 ` Kyle Meyer
2020-08-05 20:19   ` Rafael
2020-08-10 10:50   ` Stefi
2020-08-26  3:44     ` Kyle Meyer
2020-08-26 18:05       ` Stefi
2020-08-27 11:39       ` Stefi
2020-08-28  5:08         ` Kyle Meyer
2020-08-28  6:55           ` Carsten Dominik
2020-08-29 13:27             ` Stefi

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).