# [texhax] tikz externalize with LuaTeX 0.95

Arno Trautmann Arno.Trautmann at gmx.de
Tue May 31 16:46:01 CEST 2016

On 05/31/2016 04:43 PM, David Carlisle wrote:
> On 31 May 2016 at 15:36, Arno Trautmann <Arno.Trautmann at gmx.de> wrote:
>
>> 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.
>>
> \write18 is no longer special in luatex so until things update you need
>
> \RequirePackage{luatex85,shellesc}
>
>
> to make it special again....

I cannot quite grasp the concept of this right now, but thank you very
much for the quick response!

Best,
Arno