acmart icon indicating copy to clipboard operation
acmart copied to clipboard

Load hyperref before hyperxmp ?

Open scottkosty opened this issue 9 months ago • 20 comments

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.

scottkosty avatar Sep 15 '23 01:09 scottkosty