title: org-mode html export
body: <p>I have a org file with source, documentation and latex code. Latex stuff draws a bunch of graphs explaining how functions interact with each other. According to,</p>
  
  <p><a href="http://orgmode.org/manual/LaTeX-fragments.html" rel="noreferrer">http://orgmode.org/manual/LaTeX-fragments.html</a></p>
  
  <p>org-mode should export latex code as images when using html export. </p>
  
  <pre><code>#+TITLE: Test
  #+AUTHOR: Blah
  #+LATEX_HEADER: \usepackage{tikz}
  #+OPTIONS: LaTeX:dvipng
  
  #+begin_latex
  
    \begin{tikzpicture}
      \draw (1,0) -- (0,1) -- (-1,0) -- (0,-1) -- cycle;
    \end{tikzpicture}
  
  #+end_latex
  </code></pre>
  
  <p>Above works if I use pdf export so my latex setup is working also dvipng is present on my system but when exporting to html latex block is completely ignored.</p>