Unfortunately, tikz-feynman forces the use of LuaLatex to compile. However, I can't find a way to produce nice images to use in another document when compiling with LuaLatex. It seems that one cannot use documentclass{standalone} with LuaLatex ('Standalone' TikZ pictures). Similarly, the export method proposed in export Tikz figures to PDF also doesn't work. How can I produce a tikz image in one file to include in another one if I'm using LuaLatex to compile the tikz image (and pdflatex to compile the larger file that should include these images)?
Asked
Active
Viewed 202 times
0
\RequirePackage{luatex85}right before\documentclass{standalone}, and it should work. – Torbjørn T. Sep 29 '17 at 16:45\tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource"}}. Then LuaLaTeX will be called to compile the pictures instead of pdfLaTeX. (See manual vor3.0.1a section 50.4 on page 609.) – Mike Sep 29 '17 at 20:49