Not only is the symbol \pdfoptionpdfminorversion deprecated in favour of \pdfminorversion in newer versions of pdflatex, the compiler lualatex does not define either of these symbols. When compiling a document with the line
\RequirePackage[accsupp]{axessibility}
the compilation fails with the error
/usr/local/texlive/2022/texmf-dist/tex/latex/axessibility/axessibility.sty:350:
Undefined control sequence.
l.350 \pdfoptionpdfminorversion
=6
It would be a simple thing to fix this with the package ifluatex, by setting the PDF version with \directlua or other lualatex means, if luatex has been invoked.
Currently, the package file
package/axessibility.sty
contains the following line:https://github.com/integr-abile/axessibility/blob/3e9291689235d35a767ab03d45bbd5b8684423fd/package/axessibility.sty#L350
Not only is the symbol
\pdfoptionpdfminorversion
deprecated in favour of\pdfminorversion
in newer versions ofpdflatex
, the compilerlualatex
does not define either of these symbols. When compiling a document with the linethe compilation fails with the error
It would be a simple thing to fix this with the package
ifluatex
, by setting the PDF version with\directlua
or otherlualatex
means, ifluatex
has been invoked.