[Now CCing Luigi]
> mtxrun appears to be part of ConTeXt which I don't have installed. Correct. > Did you check if \openout lines appeared in the log file with the command? > > luatex --fmt=luatex-plain --file-line-error </dev/null '\input' ./openout.tex If I call this command, a zero-size file called 'dum.dum' gets created, together with a log file called 'luatex-basics.log' (attached). Luigi, I consider it strange that the log file has this name, given that the input file on the command line is `openout.tex`. If I remove the `--fmt` option in the above call, I get the expected `openout.log` file. Is this a bug? For reference, here is the contents of `openout.tex`. ``` \newwrite\ourwrite \immediate\openout\ourwrite dum.dum \bye ``` Werner
This is LuaTeX, Version 1.15.0 (TeX Live 2022) (format=luatex-plain 2022.10.4) 5 OCT 2022 06:07 restricted system commands enabled. file:line:error style messages enabled. **\input ./openout.tex (/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/luatex/luatex-bas ics.tex \lastallocatedattribute=\count26 \lastallocatedluafunction=\count27 ) (/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/luatex/luatex-fon ts.tex system : loading '/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/l uatex/luatex-fonts-merged.lua' system : using cache '/home/wl/.texlive2022/texmf-var/luatex-cache/generic' ! ! Attribute 0 is reserved for ConTeXt's font feature management and has to be ! set to zero. Also, some attributes in the range 1-255 are used for special ! purposes so setting them at the TeX end might break the font handler. ! ! ! I am using the merged version of 'luatex-fonts.lua' here. If ! you run into problems or experience unexpected behaviour, and ! if you have ConTeXt installed you can try to delete the file ! 'luatex-font-merged.lua' as I might then use the possibly ! updated libraries. The merged version is not supported as it ! is a frozen instance. Problems can be reported to the ConTeXt ! mailing list. ! system : luatex-fonts.lua loaded in 0.024 seconds) (/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/luatex/luatex-mat h.tex system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmroman10-regular.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmroman7-regular.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmroman5-regular.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmmono10-regular.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmromanslant10-regular.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmroman10-italic.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmroman10-bold.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/lmroman10-bolditalic.luc' system : loading luc file '/home/wl/.texlive2022/texmf-var/luatex-cache/generic/ fonts/otl/latinmodern-math.luc' \everymathrm=\toks12 \everymathcal=\toks13 \everymathit=\toks14 \everymathsl=\toks15 \everymathbf=\toks16 \everymathbi=\toks17 \everymathtt=\toks18 ) (/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/luatex/luatex-lan guages.tex) (/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/luatex/luatex-mpl ib.tex \mplibscratchbox=\box16 ) (/usr/local/svn/TeXLive/Master/texmf-dist/tex/generic/context/luatex/luatex-gad gets.tex) (./openout.tex \ourwrite=\write0 \openout0 = dum.dum ) warning (pdf backend): no pages of output. PDF statistics: 0 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 131072) 1 words of extra memory for PDF output out of 10000 (max. 100000000)