If for whatever reason you need to produce a PDF compliant with PDF/A standard, save yourself _a lot of troubles_ and use github.com/abdeladim-s/latex2p It was a breeze to use, and was accepted by the NSF Public Access Repository (NSF-PAR) immediately, no tweaking whatsoever!

0

If you have a fediverse account, you can quote this note from your own instance. Search https://lipn.info/users/clementaubert/statuses/111506690409762369 on your instance and quote it. (Note that quoting is not supported in Mastodon.)