# [texhax] tikz externalize with LuaTeX 0.95

Arno Trautmann Arno.Trautmann at gmx.de
Tue May 31 16:36:34 CEST 2016

Hi all,

I have a document using externalizaton of a tikz (pgfplots) figure. It
works fine with pdfLaTeX and LuaTeX 0.80 from TL 2015, but fails on
LuaTeX 0.95 from TL 2016. I added the luatex085 package, but does not
seem to help. Without externalization, the document compiles fine. With
ext., it does not even start the process correctly and leaves no log
file to investigate. The consove just responds with the error message
shown below.
The document is just a minimal one:

\RequirePackage{luatex85}
\documentclass{minimal}
\usepackage{pgfplots}
\usepgfplotslibrary{external}
\tikzexternalize
\begin{document}
\begin{tikzpicture}
\end{tikzpicture}
test
\end{document}

I can only guess that this is related to the changes in LuaTeX from 0.85
on, but since I get no useable output, I'd be thankful for any hints on
what to do with this situation …
If the external file is already present, e.g. produced by a pdfLaTeX
run, LuaLaTeX silently integrates it, even if I try to force remaking.

Any help appreciated,
best
Arno

tikz output:

===== 'mode=convert with system call': Invoking 'lualatex -shell-escape
-halt-on-error -interaction=batchmode -jobname
"./figures_pgfplots/test-figure0"
"\def\tikzexternalrealjob{test}\input{test}"' ========
lualatex -shell-escape -halt-on-error -interaction=batchmode -jobname
"./figures_pgfplots/test-figure0"
"\def\tikzexternalrealjob{test}\input{test}"

./test.tex:18: Package tikz Error: Sorry, the system call 'lualatex
-shell-escape -halt-on-error -interaction=batchmode -jobname
"./figures_pgfplots/test-figure0"
"\def\tikzexternalrealjob{test}\input{test}"' did NOT result in a usable
output file './figures_pgfplots/test-figure0' (expected one of
.pdf:.jpg:.jpeg:.
png:). Please verify that you have enabled system calls. For pdflatex,
this is 'pdflatex -shell-escape'. Sometimes it is also named 'write 18'
or something like that. Or maybe the command simply failed? Error
messages can be found in './figures_pgfplots/test-figure0.log'. If you
continue now, I'll try to typeset the picture.


More information about the texhax mailing list