I have a document in which I load nicematrix and tikz, and I can compile it without error using TexLive 2022. The compilation fails, however, when I try to submit to the Arxiv where they use TexLive 2020. I include the nicematrix.sty file with my submission.
The error message ends with:
(/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)))
(/texlive/2020/texmf-dist/tex/latex/tools/array.sty)
! Undefined control sequence.
l.73 \hook_gput_code:nnn
{ begindocument } { . }
?
! Emergency stop.
l.73 \hook_gput_code:nnn
{ begindocument } { . }
No pages of output.
Transcript written on A11_final.log.
I was getting the same \hook_gput_code:nnn error before I upgraded to TexLive 2022.
My google searches all come up with the solution "upgrade your tex" but this is not an option on the Arxiv.
Is there a work around that allows me to use nicematrix with TeXLive 2020?
As always, thanks in advance.