I'm trying very hard not to make this sound like a rant, but I'm very angry right now.
I was trying to use the TikZ externalization to create a scatter plot for my thesis. There were too many data points for TeX's memory so I switched to LuaTeX. The externalization didn't work.
(MWE like:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{external}
\tikzexternalize
\begin{document}
\tikz\node{Hello};
\end{document}
)
I had past experience with MiKTeX that suggested that changing -shell-escape to -enable-write18 can make a difference, as well as -enable-write18 vs --enable-write18. I spent literally half a day (remember, LuaTeX compilation times are still orders of magnitude slower on MiKTeX) trying to make it work and figure out why it doesn't, changing the command line around as well as the value of tikz/external/shell escape. Nothing worked.
Today I do a Google search and I find the answer at https://github.com/gpoore/minted/issues/112: There is no more \write18 in LuaTeX. You have to \usepackage{shellesc} which adds it back again.
My question is, I'm trying to be a good user here and always RTFM. Where is TFM I should have read to find out that this functionality was removed and how to add it back? To avoid spending half a day thinking I'm doing something wrong? Surely it's not the Github issue of a completely unrelated package?


\write18was never part of TeX itself, it's an extension using the fact that anything above 15 is 'free' in standard TeX. LuaTeX is quite deliberately making breaking changes, and up to v1.0 was 'beta' quality only. Given that\write18is a security risk, the LuaTeX devs felt that it's a 'edge' feature (it's not\defor similar!). Various macro package developers have been working hard to make the changes transparent to end users, but this is non-trivial. I'm not sure what an answer here would be. – Joseph Wright Apr 23 '17 at 08:55os.executecan do the same." The manual also mentions--enable-write18and--disable-write18flags though. But see also the warning at LuaTeX documentation page: “The snapshot manual (in pdf format) is automatically updated from the source […] but nothing in it should be considered stable. The way things are right now, the actual binary is the definitive answer to what luatex does or does not do.” – ShreevatsaR Apr 23 '17 at 09:00There were too many data points for TeX's memory so I switched to LuaTeX.? Something likepdflatex --extra-mem-top=60000000 -shell-escape -interaction=batchmode my_LaTeX_File.tex(which I use for example, MiKTeX). – Dr. Manuel Kuehner Apr 25 '17 at 19:04