doclicense 与 pdfmanagement 不兼容

doclicense 与 pdfmanagement 不兼容

据我所知,当后者由命令自动调用时,包doclicense现在与新包不兼容。原因似乎是自动加载,而pdfmangement 禁用了加载。pdfmanagement\DocumentMetadatadoclicensehyperxmphyperxmp

有解决方法吗?

\DocumentMetadata{%
  testphase=phase-II,
  uncompress,
  lang=en-US,
  pdfstandard=a-2u}

\documentclass{article}
\usepackage[type={CC},modifier={by-nc-nd},version={4.0},lang={english}]{doclicense}

\usepackage{hyperref}
\hypersetup{
  pdflicenseurl={http://creativecommons.org/licenses/by-nc-nd/4.0/},
  pdfproducer=pdfTeX-1.40.24, % still needed?
}

\begin{document}
  Hello
\end{document}

从日志中:

Package pdfmanagement Warning: The loading of package hyperxmp is disabled.
(pdfmanagement)                It is not compatible with the PDF management.


(/usr/local/texlive/2022/texmf-dist/tex/latex/doclicense/doclicense-english.ldf))
./cr-problem.tex:9: Undefined control sequence.
\__hook file/doclicense.sty/after ... \hypersetup 
                                                  {pdfcopyright={\doclicense...
l.9 

相关内容