How I can redefine the command
\pdfoutput=1 to be ignored?
I need to compile a file with
lualatex (see https://tex.stackexchange.com/a/586129/33634) but it contains the command
\pdfoutput=1. I cannot make changes to the file so I thought I can redefine it at some point. Maybe with
\AtBeginDocument or with
\AtEndPreamble passing it to the engine.
How can I achieve it?