Open joniumGit opened 1 year ago
If the template wants to be PDF/A-1A compatible it needs to also solve the following:
Version: | 1.22.3 |
---|---|
Parser: | GreenField |
Build Date: | 2022-09-14T14:50:00+03:00 |
Processing time: | 00:00:01.164 |
Total rules in Profile: | 106 |
Passed Checks: | 89785 |
Failed Checks: | 3 |
However, I do not think it is required or possible at the moment.
Major issues with PDF/A-1B compatibility preventing thesis submission
According to the Thesis Instructions for Oulu University the thesis PDF must be PDF/A-1B compatible:
However, this template does not produce PDF/A-1B compatible PDFs if compiled in Overleaf using pdfLaTeX (or any other compiler).
As this is a template for thesis documents this template should pass the PDF/A-1B validation so that it can be submitted into the thesis system.
Note: As this template is not in sync with the Overleaf template linked in the university thesis guides I have not put the changes in a Pull Request. If this repo is updated with the latest version I can submit a pull request for these changes. Also, overleaf now allows syncing directly from Github: https://www.overleaf.com/learn/how-to/Git_Integration_and_GitHub_Synchronization
Issues in Validation
Here are the verification results using veraPDF to validate ith PDF/A-1B profile:
The following checks fail:
Using trial and error and https://webpages.tuni.fi/latex/pdfa-guide.pdf the changes in the next chapters were made. The
xmpdata
overriding was excluded from this issue, but it should be useful for defining PDF metadata for thesis documents (see previous link).Fixing the Template
1. Add
\usepackage[a-1b,mathxmp]{pdfx}
tomain.tex
This alone makes the situation much better:
The following still fail:
2. Fix package
hyperref
by setting the import to\usepackage[pdfa]{hyperref}
indi.sty
Now only a few errors remain:
The following still fail:
3. Replacing the university logo
As the logo is in CMYK format it does not pass the PDF/A-1B validation. Replacing the logo with the ones from https://www.sttinfo.fi/uutishuone/oulun-yliopisto/m?publisherId=57858920, namely the Finnish logo in RGB PNG and English logo in RGB PNG.
This also requires minor adjustments in the
di.sty
file for including the correct logo for a language and also requires removing transparency from the logo. Transparency removal step was done with ImageMagic using:Leading to the following:
This only leaves us with one last error:
4. Removing the background from
WP.png
This image has a transparent background and it was removed with the same ImageMagic command as the logo.
Resulting PDF Passes PDF/A-1B validation