# Something like \tikzexternalize[prefix=tikztmp/] for LuaLaTeX [closed]

My aim is to compile a *.tex file that contains quite a number of tikz-environments and to create for every tikz-environment one pdf-file. Under LaTeX I would use something like

\usetikzlibrary{external}
\tikzexternalize[prefix=tikztmp/


but it seems not to work under LuaLaTeX, is there some other way? I'm using Windows so a shell-script with the standalone-class is maybe not the best option.

\documentclass{article}

\usepackage{tikz,pgfplots}
\usepackage{nicefrac}

%\usetikzlibrary{external}
%\tikzexternalize[prefix=tikztmp/]

\newlength\figureheight
\newlength\figurewidth

\begin{document}
\begin{figure}[h!tbp]
\centering
\setlength\figureheight{5.5cm}%
\setlength\figurewidth{10cm}%
\input{images/plots/channel0/linearerplotstandalone.tex}%Tikz-File
\end{figure}

\begin{figure}[h!tbp]
\centering
\setlength\figureheight{5.5cm}%
\setlength\figurewidth{10cm}%
\input{images/plots/channel0/semilogplot.tex}%Tikz-File
\end{figure}

\begin{figure}[h!tbp]
\centering
\setlength\figureheight{5.5cm}%
\setlength\figurewidth{10cm}%
\input{images/plots/channel0/semilogplot.tex}%Tikz-File
\end{figure}

\begin{figure}[h!tbp]
\centering
\setlength\figureheight{5.5cm}%
\setlength\figurewidth{10cm}%
\input{images/plots/channel1/linearerplotstandalone.tex}%Tikz-File
\end{figure}

%[...] --> more tikz files
\end{document}


## closed as unclear what you're asking by Stefan Pinnow, Zarko, Fran, Mensch, MicoFeb 28 '17 at 1:28

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• When I replace your images by simple tikzpictures, it works fine for me with LuaLaTeX and externalisation. You'll need to change your example so that it can be used to reproduce the problem. – cfr Mar 11 '15 at 1:42