20
0

Declare PDF/UA-2 and announce the document title

veraPDF reported two metadata failures against ISO 14289-2: nothing
identified the file as PDF/UA (clause 5), and ViewerPreferences was
missing DisplayDocTitle (clause 8.11.2), so viewers announced the
filename instead of the title.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-13 16:41:49 -07:00
parent 3cc4c8ffa9
commit ab9f5cfac4

View File

@@ -1,4 +1,5 @@
\DocumentMetadata{
pdfstandard=ua-2,
pdfversion=2.0,
lang=en-US,
}
@@ -161,6 +162,10 @@ BoldItalicFont = *-BoldItalic
% \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
% urlcolor=Plum, unicode=true}
% assistive software should announce the document title rather than the
% filename; PDF/UA requires this to be set explicitly
\hypersetup{pdfdisplaydoctitle=true}
% create a new \e{} command to make things purple and bold
% (falls back to \textit{} on standout slides where alert color is invisible)
\newcommand{\e}[1]{%