summaryrefslogtreecommitdiff
path: root/_templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-05-14 23:02:24 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-04 17:35:41 +0200
commitd6bcc2b413fb0bf3ccd51d5353b728f57604967e (patch)
treeb667484c2c3c1b526f706171b86608cedd252ce7 /_templates
parent0fd9232bd2308db8da506a32d7e648e967fe1a22 (diff)
enable tagged PDF, and conform to PDF/A-2b spec
Diffstat (limited to '_templates')
-rw-r--r--_templates/README.md28
-rw-r--r--_templates/doc-class.tex1
2 files changed, 29 insertions, 0 deletions
diff --git a/_templates/README.md b/_templates/README.md
new file mode 100644
index 0000000..fa966b5
--- /dev/null
+++ b/_templates/README.md
@@ -0,0 +1,28 @@
+# Template customizations
+
+This directory contains Pandoc template files
+derived from Quarto version 1.4.549.
+
+## Tagged PDF/A
+
+The PDF workflow is tweaked to embed semantically structured metadata,
+a.k.a. [tagged PDF] files,
+which conforms to the [PDF/A-2b] standard,
+using experimental LaTeX hint
+[`\DocumentMetadata` declaration][DocumentMetadata].
+
+PDF/A comes in multiple flavors.
+[Some guidelines] advice to use the 2b flavor,
+so that is what is currently done.
+
+[tagged PDF]: https://taggedpdf.com/
+ "tagged PDF - PDF containing semantically structured metadata"
+
+[PDF/A-2b]: https://pdfa.org/pdfa-faq/
+ "PDF/A - PDF standards for archiving and long-term preservation"
+
+[DocumentMetadata]: https://ctan.org/pkg/latex-lab
+ "DocumentMetadata - LaTeX hint for generating modern tagged PDF"
+
+[Some guidelines] https://www.aalto.fi/en/services/creating-a-pdfa-compliant-file-of-your-thesis
+ "Aalto guide to creating a PDF/A -compliant file of your thesis"
diff --git a/_templates/doc-class.tex b/_templates/doc-class.tex
index b9c942e..19f9c04 100644
--- a/_templates/doc-class.tex
+++ b/_templates/doc-class.tex
@@ -2,6 +2,7 @@
$if(lang)$
lang={$lang$},
$endif$
+pdfstandard=A-2b,
}
\documentclass[
$if(fontsize)$