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:
@@ -1,4 +1,5 @@
|
|||||||
\DocumentMetadata{
|
\DocumentMetadata{
|
||||||
|
pdfstandard=ua-2,
|
||||||
pdfversion=2.0,
|
pdfversion=2.0,
|
||||||
lang=en-US,
|
lang=en-US,
|
||||||
}
|
}
|
||||||
@@ -161,6 +162,10 @@ BoldItalicFont = *-BoldItalic
|
|||||||
% \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
|
% \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=makopurple1,
|
||||||
% urlcolor=Plum, unicode=true}
|
% 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
|
% create a new \e{} command to make things purple and bold
|
||||||
% (falls back to \textit{} on standout slides where alert color is invisible)
|
% (falls back to \textit{} on standout slides where alert color is invisible)
|
||||||
\newcommand{\e}[1]{%
|
\newcommand{\e}[1]{%
|
||||||
|
|||||||
Reference in New Issue
Block a user