为什么 hyperxmp 会抑制 PDf Info 字典?

为什么 hyperxmp 会抑制 PDf Info 字典?

以下源在日志文件中生成以下内容:

Package hyperxmp Warning: Suppressing the _entire_ PDF Info dictionary.
(hyperxmp)                Please notify the hyperxmp maintainer.
....
Package hyperref Info: Link coloring OFF on input line 21.
<<sRGB.icc>>

!! new-hyperxmp--generic packet command used!!

当我使用 Adob​​e Acrobat 检查生成的 pdf 文件的属性时,我确实看到了我提供给命令的标题和作者\hypersetup

那么到底发生了什么事hyperxmp

\RequirePackage{pdfmanagement-testphase}
\DocumentMetadata{uncompress,pdfstandard=a-2u}

\documentclass{memoir}

\RequirePackage{hyperxmp} % to add metadata info into pdf
\usepackage{hyperref}
\hypersetup{
  unicode,
  pdfapart=2, pdfaconformance=u,
  colorlinks, citecolor=red, linkcolor=blue, urlcolor=blue,
  pdftitle={The Book},
  pdfauthor={Somebody Who},pdfcreator={Somebody Ese},
  pdfpublisher={The Author},
  pdfdate={\today},
  pdflang={en},pdfmetalang={en},
  pdfpubtype={Book},
  pdfproducer=pdfTeX-1.40.23, %why needed ????????????
}

\begin{document}
Hello!
\end{document}

相关内容