Using the current TexLive 2015 on Windows 7 I can successfully compile the following MWE with pdflatex:
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\begin{document}
abc
\end{document}
Compiling the same document with lualatex on the other hand leads to the following error message:
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/W32TeX) (rev 5238)
restricted \write18 enabled.
(./error_minimal.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(c:/texlive/2015/texmf-dist/tex/latex/standalone/standalone.cls
Document Class: standalone 2015/07/15 v1.2 Class to compile TeX sub-files
[...]
(c:/texlive/2015/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(c:/texlive/2015/texmf-dist/tex/luatex/ctablestack/ctablestack.sty
(c:/texlive/2015/texmf-dist/tex/latex/base/ltluatex.tex
! Missing number, treated as zero.
<to be read again>
\relax
l.140 \newcatcodetable\catcodetable@initex
?
Is this a known bug or am I doing something wrong?
2015/01/01kernel: this is unfortunately buggy , which shows up with newer LuaTeX support. Ideally you should have either the2015/01/01 PL2or (better) the2015/10/01 PL1kernel. – Joseph Wright Oct 14 '15 at 13:45luatex.fmtis 2 hours old and the size is 529 kB. – Alexander Oct 14 '15 at 13:46LaTeX2e <2015/01/01>there have been 3 latex releases since then. – David Carlisle Oct 14 '15 at 13:51LaTeX2e <2015/10/01> patch level 1your example works fine. – Ulrike Fischer Oct 14 '15 at 13:57fmtutil-sys --allthe format showspatch level 1and everything works again. – Alexander Oct 14 '15 at 14:00c:/texlive/2015/texmf-dist/tex/latex/base/latex.ltxwhat do the lines around 696 say, since you have ltluatex I would expect them to say\edef\fmtversion {2015/10/01} \def\patch@level{1}but if that is the case the format you are using is older and has been made from some other files. Do you have a second local tex tree? – David Carlisle Oct 14 '15 at 14:09\edef\fmtversion {2015/10/01} \def\patch@level{1}. The output from above was before I ranfmtutil-sys --all. I still have an old TeXLive 2014 installation in parallel but this should just be sitting idle on the disk. – Alexander Oct 14 '15 at 14:13LaTeX2e <2015/10/01> patch level 1. So I am happy now and can continue :) – Alexander Oct 14 '15 at 14:23