The org-mode source

#+OPTIONS: toc:nil creator:nil author:nil timestamp:nil num:t validate:nil
#+OPTIONS: tex:imagemagick
#+LaTeX_HEADER: \usepackage{tikz}

   \draw (0,0) circle (3cm);

exports to HTML like a charm. However, the LaTeX snippet is converted to PNG format. Is there a simple way to persuade the system to use SVG rather than PNG?


By default the exporter uses Mathjax. You are explicitly over-riding this with the tex:imagemagick option, which uses PNG instead. The option tex:dvisvgm selects svg format.

See http://orgmode.org/manual/Math-formatting-in-HTML-export.html#Math-formatting-in-HTML-export

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.