# lualatex: how to produce PDF acceptable by arxiv?

With pdflatex, it is possible to create PDF files that are acceptable by arxiv even without sources (with hyperref + \pdfsuppressptexinfo=1, see Making an anonymous PDF file using PDFLaTeX).

However, I don't manage to create such a PDF using lualatex.

With LuaLaTeX, what is the equivalent of \pdfsuppressptexinfo=1?

The (extended) equivalent to \pdfsuppressptexinfo is \pdfvariable suppressoptionalinfo \numexpr number\relax see the luatex documentation. So something like this works:

\documentclass{article}

\usepackage{hyperref}
\hypersetup{
pdfcreator = {},
pdfproducer = {}
}
\pdfvariable suppressoptionalinfo \numexpr 1+2+4+8+16+32+64+128+256+512 \relax

\begin{document}
abc
\end{document}

• No need for hyperref: \pdfextension info {/Creator() /Producer()} – Henri Menke Aug 30 '18 at 23:57
• This answer didn't work for me. – eiennohito May 26 at 13:09