Get bookmarks shown in ICML 2022 style

bookmarkshyperref

When I use the example file

icml2022.zip from https://icml.cc/Conferences/2022/StyleAuthorInstructions,

there are no bookmarks shown in any pdf reader. Typically most pdf reader show a table of content as bookmarks left to the pdf, when hyperref is loaded (see How do I create bookmarks with pdfLaTeX?).

How can I change the code to show the bookmarks? Or which packages are in conflict with the bookmarks?

Best Answer

\usepackage{icml2022} has been loaded after \usepackage{hyperref}, but as mentioned in https://tex.stackexchange.com/a/244889/128042:

hyperref should be the last package to be included in almost any case (unless cleveref is used too)

I deleted \usepackage{hyperref} and added it directly in the line after \usepackage{icml2022} and now the bookmarks are shown correctly :)

Is there any disadvantage of loading the packages in the correct order? Do you think ICML loads the packages on purpose in the wrong order? So far it seems to me that changing the order of the packages into the correct order only brought advantages over the code suggested by ICML 2022.

Related Question