I'm trying to submit an article to an IFAC conference by using their template: https://www.ifac-control.org/events/author-guide/copy_of_ifacconf_latex.zip/view.
I also want to use the hyperref package to add links to the document, in addition to the autoref macros, among other features.
My document compiles just fine using latexmk before adding the hyperref package, but generates the following errors when it is added:
Errors:
./mwe-delete.tex:33: Illegal unit of measure (pt inserted). [\begin{ack}]
./mwe-delete.bbl:1: Illegal unit of measure (pt inserted). [\begin{thebibliography}{1}]
For clarity, I work with the following files:
mwe-delete.texMWE main tex file.refs-test-delete.bibMWE bibliography file.
Additionally, the file mwe-delete.bbl is generated by natbib.
These are the contents of mwe-delete.tex:
\documentclass{ifacconf}
\usepackage{natbib}
\usepackage{hyperref}
\begin{document}
\begin{frontmatter}
\title{Paper Title\thanksref{titlenote}}
\thanks[titlenote]{
Titlenote.
}
\author[First]{First Author}
\address[First]{First Author contact info.}
\begin{abstract}
The abstract.
\end{abstract}
\begin{keyword}
Keyword
\end{keyword}
\end{frontmatter}
\section{Introduction}
\label{sec:introduction}
Introduction.
This is based on the work of \citet{bibref1}.
\begin{ack}
Acknowledgement.
\end{ack}
\bibliography{refs-test-delete}
\end{document}
The contents of refs-test-delete.bib:
@Article{bibref1,
author = {Firstname M. Lastname},
title = {PaperTitle},
journal = {Journal of Journals},
year = {2009},
volume = {32},
number = {3},
pages = {1039--1045},
month = {5},
publisher = {Publisher},
}
The generated contents in mwe-delete.bbl:
\begin{thebibliography}{1}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}}
\providecommand{\urlprefix}{URL }
\expandafter\ifx\csname urlstyle\endcsname\relax
\providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else
\providecommand{\doi}{doi:\discretionary{}{}{}\begingroup
\urlstyle{rm}\Url}\fi
\bibitem[{Lastname(2009)}]{bibref1}
Lastname, F.M. (2009).
\newblock Papertitle.
\newblock \emph{Journal of Journals}, 32(3), 1039--1045.
\end{thebibliography}
Does anyone have any experience using the IFAC template together with hyperref?
I'm using TexLive 2017 with the latest updated packages.
The contents of ifacconf.cls are found here (direct link to .zip-file of 460 kB).
