[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] tikz latex figures don't render properly in the html output. [
From: |
Rudolf Adamkovič |
Subject: |
Re: [BUG] tikz latex figures don't render properly in the html output. [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)] |
Date: |
Tue, 19 Sep 2023 01:52:26 +0200 |
tusharhero--- via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:
> \begin{tikzpicture}
> \draw (0,0) circle [radius=2cm];
> \end{tikzpicture}
By default Org uses MathJax in HTML exports,
and MathJax does not implement TikZ. But!
Org can be told to instead use LaTeX to
generate SVG or PNG for HTML exports [1].
But, but! That does not work well without a
small pile of hacks. But, but, but! There
is a new LaTeX preview system in works [2],
and it fixes a lot of problems out of the
box, including yours!
Rudy
[1] https://orgmode.org/manual/Math-formatting-in-HTML-export.html
[2] https://youtu.be/n-AfvuV-bYo?si=k-5QY9MdrJXazmPv
--
"Programming reliably -- must be an activity of an undeniably
mathematical nature […] You see, mathematics is about thinking, and
doing mathematics is always trying to think as well as possible."
-- Edsger W. Dijkstra, 1981
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia