0

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?

Jakob
  • 993

1 Answers1

0

\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.

Jakob
  • 993
  • well by exchanging the order you are disabling the section definitions of the journal style. – Ulrike Fischer Feb 05 '22 at 23:06
  • Which section definitions? Can you give an example for LaTeX code of section definitions or can you explain how this affects the resulting pdf? Is there a possibility to make both work at the same time? Section definitions and bookmarks? – Jakob Feb 07 '22 at 09:10
  • You are changing a definition of the package by changing the order. And at least one effect on the pdf is obvious as it is the reason you are changing the order. If you create the pdf for a submission then ask the journal if it matters for them. – Ulrike Fischer Feb 07 '22 at 09:21