Compatibility with Externalization Library of TikZ

Issue #3 new
lbaeni created an issue

I have a lot of tikz figures in my document and use the external library of tikz for this reason. I'd like to use modiagram but this causes errors in combination with the external library.

\documentclass{standalone}
\usepackage{tikz}
\usepackage{modiagram}
\usetikzlibrary{external}
\tikzexternalize[/tikz/external/mode = list and make]
\begin{document}
\mbox{
%\tikzset{external/export next = false}%
\begin{MOdiagram}
    \atom{left}{
        1s = {  0; pair},
        2s = {  1; pair},
        2p = {1.5; up, up}
    }
\end{MOdiagram}%
}
\begin{tikzpicture}
    \node {externalized TikZ};
\end{tikzpicture}%
\end{document}

I tried turning off the export mechanism for the modiagram. But this causes an error when typesetting the externalized tikz figure.

Could you think of a easy fix or workaround?

Comments (1)

  1. Log in to comment