I'm writing a thesis and using a Latex template that was provided to me by my friend. I'm a relative newbie, but am getting into it and understanding more and more. I'm using one large 'master file' which includes the other relevant sections.
I'm currently trying to work out how to get my citations to work. I've tried including natbib (as my buddy used) and also commenting it out (which i will probably prefer). Either way i get a Latext Warning: Citation `kazaa' on page 1 undefined on input line 9 (or whatever the page/line is, respectively, anytime i've used a cite command).
I created my bib file using BibDesk but have also copy/pasted some text stuff in there - but i think that's fine. Either way, i can't get rid of those question marks. The 'references' file is a bib file and is in the same directory as the rest of the documents, and the master file.
Here's my 'master' file.
Code: Select all
% ###############################
% # Thesis
% # File: thesis.tex
% # Created: Eddie
% # Novermber 16th 2009
% ###############################
\documentclass[12pt,a4paper]{report}
%\usepackage{natbib}
\usepackage[Pete]{fncychap}
\usepackage{fancyhdr}
\usepackage{sfheaders}
\usepackage{vmargin}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{float}
\usepackage{textcomp}
\usepackage{pifont}
\usepackage{listings}
\usepackage{longtable}
\usepackage[pdftex,
bookmarks=true,
bookmarksnumbered=true,
pdftitle={Thesis},
pdfauthor={Eddie},
pdfsubject={Thesis},
pdfkeywords={Thesis}
]{hyperref}
\newcommand{\showURL}{See
\let \oldtt = \it
\renewcommand{\tt}{\oldtt \itshape}}
\newcommand{\comment}[1]{}
\newcommand{\clearemptydoublepage}
{\newpage{\pagestyle{empty}\cleardoublepage}}
\title{\textbf{Distributed Audio Processing}\\ {\normalsize Distributed Audio Retrieval using Triana}}
\author{Eddie\\
\normalsize School of Computer Science}
\date{}
\renewcommand{\bottomfraction} {1}
\renewcommand{\topfraction} {1}
\renewcommand{\floatpagefraction} {0.75}\renewcommand{\textfraction} {0.001}
\pagestyle{fancyplain}
\renewcommand{\chaptermark}[1]{
\markboth{{\slshape\sffamily\thechapter}\ \textsf{#1}}{}
}
\renewcommand{\sectionmark}[1]{
\markright{{\slshape\sffamily\thesection}\ \textsf{#1}}{}
}
\lhead{\fancyplain{}{\rightmark}}
\chead{}
\rhead{}
\lfoot{}
\cfoot{\fancyplain{\slshape\sffamily\thepage}{\slshape\sffamily\thepage}}
\rfoot{}
\setlength{\headrulewidth}{0.5pt}
\setlength{\footrulewidth}{0.5pt}
\setlength{\plainfootrulewidth}{0.5pt}
\parskip = 0.1in
\parindent = 0.2in
\newsavebox{\savepar}
\newenvironment{boxit}
{\renewcommand\baselinestretch{1.5}
\small
\begin{lrbox}{\savepar}
\begin{minipage}{4.5in}}
{\end{minipage}
\end{lrbox}
\centerline{\fbox{\usebox{\savepar}}}
\renewcommand\baselinestretch{1.5}}
\begin{document}
\pagenumbering{roman}
\maketitle
\include{declaration}
\renewcommand\baselinestretch {1.5}
\normalsize
\include{acknowledgements}
\include{abstract}
% section and subsection depth levels
\setcounter{secnumdepth}{7}
\parskip=0in
\tableofcontents
\listoffigures
\listoftables
\lstlistoflistings
\parskip=0.1in
\pagebreak
\pagenumbering{arabic}
% THIS IS WHERE YOU INCLUDE STUFF
\include{introduction}
\include{background}
\include{architecture}
\include{design}
\include{implementation}
\include{resultsicar}
\include{resultsdart1}
\include{resultsdart2}
\include{conclusion}
%:appendices
% Uncomment and put chapters here for appendices
\begin{appendix}
\include{listings}
\end{appendix}
\bibliographystyle{abbrv}
\bibliography{references
}
\end{document}
Can anyone give me a clue as to what's going wrong?
Here's a snippet of my introduction
Code: Select all
\chapter{Introduction}
\label{chap:intro}
\subsection{Overview}
\textit{\begin{quote}
Myriad difficulties remain to be overcome before the creation, deployment, and evaluation of robust, large-scale, and content-based Music Information Retrieval (MIR) systems become reality. The dizzyingly complex interaction of music’s pitch, temporal, harmonic, timbral, editorial, textual, and bibliographic “facets” for example, demonstrates just one of MIR’s perplexing problems}\footnote{Downie, J. Stephen. Music information retrieval (Chapter 7). In Annual Review of Information Science and Technology 37, ed. Blaise Cronin, 295-340. Medford, NJ: Information Today, 2003} - J. Stephen Downie, Annual Review of Information Science and Technology, 2003
\end{quote}}
Since the creation of the Compact Disc in 1982, music has been widely available in digital format, and the success of the MP3 as a media format has meant that the volume of digital music available is expanding rapidly. The introduction of Napster\cite{napsternapster} in 1999, Kazaa\cite{kazaa} in 2001, and other file sharing applications based on the Gnutella \cite{gnutella} distributed peer-to-peer framework gave users (illegal) access to an enormous library of music of all
I'm using TexShop on a mac, and have another much simpler journal i did in Latex which works.
Many thanks
Eddie