2 pdfa files
Oliver Kennedy edited this page 2021-07-12 16:21:55 -04:00

To create an NSF-PAR-friendly PDF/A file, add the following to the header of your LaTeX file:

\usepackage[a-1b]{pdfx}

There are issues with HTTP urls and external references not being allowed in PDF/A. The following incantation will strip non-permitted annotations out (specifically -dPDFA forces PDF/A output, and -dPDFACompatibilityPolicy=1 discards data that isn't PDF/A-compliant)

gs -sDEVICE=pdfwrite -q -dNOPAUSE -dBATCH -dPDFA -sProcessColorModel=DeviceCMYK -dPDFACompatibilityPolicy=1  -sOutputFile=<OUTPUT FILE> <INPUT FILE>