我想借助 gnuplottex 及其 tikz 终端将 gnuplot 图表包含在海报中。原则上这是可行的(参见 MWE)。但是,由于某些图表相当复杂,我想使用 tikz externalize 功能节省编译时间。不幸的是,这因紧急错误而停止。有人知道这里发生了什么以及如何解决吗?
\documentclass[a0paper,portrait,english]{baposter}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{gnuplot-lua-tikz}
%Uncomment these two lines to get the error. Make sure the folder gnuplottex is already present.
%\usetikzlibrary{external}
%\tikzexternalize[prefix=gnuplottex/]
\usepackage{gnuplottex}
\begin{document}
\background{
}
\begin{poster}{
}
{
% eye catcher
}
{
poster title
}
{
poster authors
}
{
%uni logo
}
\begin{posterbox}[name=box1,column=0,row=0,span=3]{Box 1}
Text
% \begin{fragile}
\begin{gnuplot}[terminal=tikz]
plot sin(x)
\end{gnuplot}
% \end{fragile}
Text
\end{posterbox}
\end{poster}
\end{document}