I use Emacs orgmode exclusively. I installed auctex from Melpa. My understanding is that preview-latex
is packaged with auctex with no special setup required.
preview-latex
on any inline latex equationsWhat am I doing wrong here?
Thank you
The best method I found to preview latex in orgmode is:
sudo apt-get install dvipng
C-c C-x C-l
Equation goes from this:
$$\frac{a}{b} \cdot \frac{c}{d} = \frac{a \cdot c}{b \cdot d} = \frac{product\ of\ numerators}{product\ of\ denominators}$$
Use C-c C-x C-l
to revert.
I do have Auctex installed (though I don't think dvipng
uses it at all. And in my emacs init
file I have:
* AucTex: Require AucTex
(require 'tex-site')
* LaTeX: Enable LaTeX Math mode by default
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
This is very sweet!