The problem
I use the template from IOS Press to write my paper. It gives us a sample pdf with its tex file (jiase2e.tex), where each author has superscript:
However, if I compile it on my computer using pdflatex, the superscripts are replaced by question marks (?):

The code
I just use the jiase2e.tex file it provides to us, and never change it. There's part of the tex file:
\documentclass{jaise2e}
\usepackage[T1]{fontenc}
\usepackage{times}%
\usepackage{natbib}
%\usepackage[dvips]{hyperref}
\usepackage{amsmath}
\usepackage{dcolumn}
\usepackage{endnotes}
\usepackage{graphics}
\newcolumntype{d}[1]{D{.}{.}{#1}}
\firstpage{1} \lastpage{5} \volume{1} \pubyear{2009}
\begin{document}
\begin{frontmatter} % The preamble begins here.
%
%\pretitle{Pretitle}
\title{Instructions for the preparation of a camera-ready paper in \LaTeX\thanks{Footnote in title.}}
\runningtitle{Instructions for the preparation of a camera-ready paper in \LaTeX}
%\subtitle{Subtitle}
\author[A]{\fnms{First} \snm{Author}\thanks{Corresponding author. E-mail: editorial@iospress.nl.}\thanks{Do not use capitals for the author's surname.}},
\author[B]{\fnms{Second} \snm{Author}}
and
\author[B]{\fnms{Third} \snm{Author}}
\runningauthor{F. Author et al.}
\address[A]{Journal Production Department, IOS Press, Nieuwe Hemweg 6b, 1013 BG, Amsterdam,\\ The Netherlands\\
E-mail: first@somewhere.com}
\address[B]{Department first, then University or Company name, Insert a complete correspondence (mailing) address,
Abbreviate US states, Include country\\
E-mail: \{second,third\}@somewhere.com}
...
\end{frontmatter}
...
\end{document}
What I have tried
As a newbie to LaTex, I only come up with an ugly workaround to add superscripts to authors manually:
\author{First Author\textsuperscript{a}\thanks{Corresponding author. E-mail: editorial@iospress.nl.}\thanks{Do not use capitals for the author's surname.}},
\author{Second Author\textsuperscript{b}}
and
\author{Third Author\textsuperscript{b}}
which works fine but not decent.
On the other hand, I add a line \usepackage{authblk} to jiase2e.tex file as suggested by this but without luck:
\documentclass{jaise2e}
\usepackage[T1]{fontenc}
\usepackage{times}%
\usepackage{natbib}
%\usepackage[dvips]{hyperref}
\usepackage{amsmath}
\usepackage{dcolumn}
\usepackage{endnotes}
\usepackage{graphics}
\usepackage{authblk} % I add this package
\newcolumntype{d}[1]{D{.}{.}{#1}}
\firstpage{1} \lastpage{5} \volume{1} \pubyear{2009}
\begin{document}
\begin{frontmatter} % The preamble begins here.
%
%\pretitle{Pretitle}
\title{Instructions for the preparation of a camera-ready paper in \LaTeX\thanks{Footnote in title.}}
\runningtitle{Instructions for the preparation of a camera-ready paper in \LaTeX}
%\subtitle{Subtitle}
\author[A]{First Author\thanks{Corresponding author. E-mail: editorial@iospress.nl.}\thanks{Do not use capitals for the author's surname.}},
\author[B]{Second Author}
and
\author[B]{Third Author}
\runningauthor{F. Author et al.}
\address[A]{Journal Production Department, IOS Press, Nieuwe Hemweg 6b, 1013 BG, Amsterdam,\\ The Netherlands\\
E-mail: first@somewhere.com}
\address[B]{Department first, then University or Company name, Insert a complete correspondence (mailing) address,
Abbreviate US states, Include country\\
E-mail: \{second,third\}@somewhere.com}
there are no authors this time at all:

Is it possible to fix it? Thanks.
P.S.: I use FreeBSD 10 on my x86-64 computer, and have latest (20140525_1) print/texlive-full installed from ports system.
(pdf)latextwice. – Ian Thompson Sep 20 '14 at 12:45LaTeXwrites certain information that it needs to a file with the extension.aux. It needs this information to insert references, etc. so you often have to run it twice (or even three times if certain packages are used). – Ian Thompson Sep 20 '14 at 15:09