File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1+ 2025-06-17 Ulrike Fischer
2+ * hyperref.dtx: suppress pdfa key and message if \DocumentMetadata is detected issue #387
3+
142025-06-01 Ulrike Fischer
25 * hyperref.dtx: change hyperindexformat to hyperxindexformat, issue #386
36
Original file line number Diff line number Diff line change 65036503 \Hy@boolkey{pdfdisplaydoctitle}{#1}%
65046504}
65056505\define@key{Hyp}{pdfa}[true]{%
6506- \Hy@boolkey{pdfa}{#1}%
6506+ \IfDocumentMetadataTF
6507+ {%
6508+ \PackageWarning{hyperref}{%
6509+ \string\DocumentMetadata\space detected. \MessageBreak
6510+ The 'pdfa' key will be ignored.\MessageBreak
6511+ Set the PDF standard in \string\DocumentMetadata.\MessageBreak
6512+ }
6513+ }
6514+ {\Hy@boolkey{pdfa}{#1}}%
65076515}
65086516\define@key{Hyp}{pdfnewwindow}[true]{%
65096517 \def\Hy@temp{#1}%
93539361\else
93549362 \Hy@Info{Link coloring with OCG OFF}%
93559363\fi
9356- \ifHy@pdfa
9357- \Hy@Info{PDF/A mode ON}%
9358- \else
9359- \Hy@Info{PDF/A mode OFF}%
9360- \fi
9364+ \IfDocumentMetadataF
9365+ {%
9366+ \ifHy@pdfa
9367+ \Hy@Info{PDF/A mode ON}%
9368+ \else
9369+ \Hy@Info{PDF/A mode OFF}%
9370+ \fi
9371+ }
93619372% \end{macrocode}
93629373% \section{Low-level utility macros}
93639374% We need unrestricted access to the |#|, |~| and |"| characters, so make
You can’t perform that action at this time.
0 commit comments