From ab9f5cfac4a04d63ee0fe541bbdd84fa4cc6d1cc Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Thu, 13 Aug 2026 16:41:49 -0700 Subject: [PATCH] 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) --- slides_template/example.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/slides_template/example.tex b/slides_template/example.tex index 34c4bfd..e55cdfd 100644 --- a/slides_template/example.tex +++ b/slides_template/example.tex @@ -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]{%