main.tex.tex files (\input)
Optional. When the engine is local, these files are written next to main.tex on the server. Names like macros.tex only (no subfolders).
npm run compile-server in another terminal and refresh — the app uses pdflatex and loads default-document.txt with real figures. With only npm start, WASM pdfTeX has no TikZ. Set PDF_ENGINE in assets/js/config.js to auto (default), local, or wasm.