acmart
acmart copied to clipboard
Load hyperref before hyperxmp ?
After a tlmgr update, with acmart I now get:
! Package hyperxmp Error: hyperref must be loaded before hyperxmp.
Indeed, it seems this was an intentional change if you look at the the change log in the documentation of hyperxmp: http://mirrors.ctan.org/macros/latex/contrib/hyperxmp/hyperxmp.pdf
In acmart.cls, if I manually change:
\RequirePackage{hyperxmp}
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
\RequirePackage[bookmarksnumbered,unicode]{hyperref}
to:
\let\@footnotemark@nolink\@footnotemark
\let\@footnotetext@nolink\@footnotetext
\RequirePackage[bookmarksnumbered,unicode]{hyperref}
\RequirePackage{hyperxmp}
I no longer get the error. That said, I have no idea what I'm doing.
Unfortunately, I wonder if the following issue is still relevant, which is also related to the ordering: #425.