I have Latex code embedded in my org file.
*** Equations
\begin{equation}
h(x) = \theta_0 + \theta_1 x
\end{equation}
When I run C-c C-x C-l
while my cursor is on the code, I get an empty box rendered on my file. Why is the code not rendering correctly?
EDIT 1: I have dvipng installed, and I have set org-latex-create-formula-image-program to dvipng.
(setq org-latex-create-formula-image-program 'dvipng)
I am using org mode version 8.2.10.
EDIT 2: I installed imagemagick and set org-latex-create-formula-image-program to it. No luck. When I run C-c C-x C-l
, the command bar displays two messages in quick succession.
Creating image...1
PDF file /tmp/orgtex8421NqG.pdf wasn't produced