I’m currently preparing a paper for submission to the journal ‘Automatica.’ I initially typeset the paper using the ‘elsarticle.cls’. However, after submission, the corresponding editor emailed me and suggested that to re-typeset the paper using ‘autart.cls.’ Here’s my problem: It seems that \hyperref is not working! For instance, when I want to cite an equation using \eqref{}, the hyperlink won’t be active (it just shows the number of the equation). This problem also persists when referring to a figure or theorem. Any help will be greatly appreciated. Thank you all. In the following, I add the packages that I'm using.
\documentclass[twocolumn]{autart}
\usepackage{graphicx}
\usepackage[dvipsnames]{xcolor}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{float}
\usepackage[sort]{natbib}
\usepackage[colorlinks=true,allcolors=MidnightBlue]{hyperref}
\bibliographystyle{agsm}
\setlength{\parindent}{12pt}
\begin{document}
\begin{frontmatter}
\title{Test\thanksref{footnoteinfo}}
\thanks[footnoteinfo]{This paper was not presented at any IFAC meeting.}
\end{frontmatter}
\section{Sec}
\begin{align} \label{Eq1}
F = m.a\textrm{.}
\end{align}
Consider the equation \eqref{Eq1}.
\end{document}
\end{document}
? When I write a short document with that class and those packages, it seems like\eqref
is working perfectly well.\eqref
worked perfectly. But when I added the\frontmatter
environment, I encountered the same problem. As you asked, I will add a full Minimal Working Example.