sudo port install texlive-bibtex-extra
Subsequent compile yielded more errors, this time it was "! Undefined control sequence. \abstract". This was solved using the texlive-latex-extra package, installed using;
sudo port install texlive-latex-extra
Then adding the following to define the abstract in the book documentclass;
% Define abstract in book documentclass
\pagestyle{empty}
\newenvironment{abstract}%
{
\onehalfspacing%
\null
\vfill
\chapter*{\centering Abstract}%
\addcontentsline{toc}{chapter}{Abstract}
}%
{\vfill\null}
% Start the actual abstract
\begin{abstract}
\end{abstract}
More errors resulted "! Use of \@year@ doesn't match its definition." I had to add "\bibliographystyle{apacite}" to the bibligraphy page, and all was well once again.
References:
- https://trac.macports.org/wiki/TeXLivePackages
- http://www.cs.utexas.edu/~witchel/errorclasses.html
No comments:
Post a Comment