Update pdfa files

master
Oliver Kennedy 2021-07-12 16:21:55 -04:00
parent ab37bdfb3f
commit 86f7cd74c4
1 changed files with 6 additions and 0 deletions

@ -1,4 +1,10 @@
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>
```