I get the error "Paragraph ended before \tikzexternalize@opt was complete
" on the following code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{external}
\tikzexternalize
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\node [draw,rectangle,minimum width=0.5cm,minimum height=0.5cm] {};
\begin{scope}[xshift=0.5cm]
\node [draw,rectangle,minimum width=0.5cm,minimum height=0.5cm] {2};
\end{scope}
\begin{scope}[xshift=1cm]
\node [draw,rectangle,minimum width=0.5cm,minimum height=0.5cm] {};
\end{scope}
\end{tikzpicture}
\end{figure}
\end{document}
Any idea on how to fix this issue?
`
, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).\tikzset{external/force remake}
in your preamble to force the regeneration of the image? If that doesn't help: What compiler are you using (pdflatex
,xelatex
)? What version of TikZ?