emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LaTeX fragments not being generated due to extra * in tikz env


From: 10cadr
Subject: LaTeX fragments not being generated due to extra * in tikz env
Date: Tue, 8 Dec 2020 20:57:34 +0000

I was trying out the new option tex:dvipng. The HTML result was a image with the tikz code.

Turns out, debugging and telling the fragment processor not to delete the files, what org generates for the tikz fragment is:

\begin{tikzpicture*}

Removing the astherisk would make it work without any workarounds.

How I got around this was

#+LATEX_HEADER: \usepackage{environ,amsmath,multicol}
#+LATEX_HEADER: \NewEnviron{tikzpicture*}[1][]{\begin{tikzpicture}[#1]\BODY\end{tikzpicture}}

Possibly fixing this issue, will make cross formats much easier.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]