I have the following MWE:



     \item\label{item:45} An item
\section{About \cref{item:45}}

Now, in the PDF I get the correct section title: "About item 1". But the title in the PDF outline is "About item:45". Is there a way to make hyperref generate the outline title after the \cref macro is fully expanded? Alternatively, is there a way to provide an alternative hand coded title to hyperref just for the purposes of the PDF outline?

  • How about \section{About item \ref{item:45}}? Or, \section{About \autoref{item:45}}. – Mico Apr 5 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.