I need to build a PDF 1.6 with LuaLaTeX, and I can't get \pdfminorversion command to work:
\pdfminorversion=6
\documentclass{article}
\begin{document}
This is a test
\end{document}
The result is
Undefined control sequence. \pdfminorversion
PdfLaTeX builds the PDF, but I need to use LuaLaTeX (I need the fontspec package).
\pdf...primitives] were implemented in LuaTeX prior to 0.82 violates the separation between frontend and backend, an inheritance from pdfTeX. Additional features such as protrusion and expansion add to that entanglement. However, because PDF is an evolving standard, occasionally we need to adapt the related code. A separation of code makes sure that the frontend can become stable (and hopefully frozen) at some point.« – Henri Menke Jun 15 '17 at 01:09pdf...primitives. But I don't care whether\pdfminorversionis a primitive. I care whether it works. And since I can wrap it and make it work, it seems to me that its working must be consistent with the separation. That is, it is a matter of implementation, which is nothing to me if I just want my code to keep working. Fortunately, my code all uses pdfTeX and I tell all my students to stick to pdfTeX, so my code and their code did not break. – cfr Jun 15 '17 at 01:19