BibTeX, biblatex and bibernatbib | Runaway Argument caused by Citation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
demus
Posts: 2
Joined: Sun Jun 10, 2012 1:33 pm

natbib | Runaway Argument caused by Citation

Post by demus »

Hello,

I'm trying to use a bibliography in a separate bib file without much luck. To test things out, there's only one entry in MyBib.bib right now, so the whole file only contains the following:

Code: Select all

@article{Ref1,
title = "A new semi-active suspension control strategy through LPV technique",
journal = "Control Engineering Practice",
volume = "16",
number = "12",
pages = "1519 - 1534",
year = "2008",
note = "",
issn = "0967-0661",
doi = "10.1016/j.conengprac.2008.05.002",
url = "http://www.sciencedirect.com/science/article/pii/S0967066108000853",
author = "C. Poussot-Vassal and O. Sename and L. Dugard and P. Gáspár and Z. Szabó and J. Bokor",
keywords = "Semi-active suspension",
keywords = "Linear parameter varying (LPV)",
keywords = "Engineering",
keywords = "Linear matrix inequality (LMI)"
}
My complete document is divided into several .tex files included with \include. My main file looks like this

Code: Select all

\documentclass[a4paper,11pt]{report}
\usepackage[ireport]{KTHEEtitlepage}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{vmargin}
\usepackage[table]{xcolor}
\usepackage{breqn}
\usepackage[square,numbers]{natbib}
\usepackage[ireport]{KTHEEtitlepage}
\usepackage{nomencl}
\usepackage{mathtools}
\usepackage{verbatim} 
\usepackage{subfig}
\usepackage{cite}
\usepackage[T1]{fontenc}
%\usepackage{natbib}

\mathtoolsset{showonlyrefs} % number referenced equation only
\makenomenclature
\setmarginsrb{30mm}{5mm}{30mm}{20mm}{25mm}{5mm}{20mm}{10mm}

\begin{document}

\ititle{Title}
\isubtitle{subtitle}
\iauthor{Author}
\idate{2012}
\irefnr{AA-AA-AA 0000:000}
\iaddress{School}
\makeititle

\include{Abstract/Abstract}
\printnomenclature
\tableofcontents

\include{subdocument/subdocument}

\nocite{*}
\bibliographystyle{splncs03}
\bibliography{MyBib}
\end{document}
The subdocument looks like this:

Code: Select all

\chapter{SubDocument}
I would like to cite this reference \cite{Ref1}.
When I run latex I get the error message:

Code: Select all

(./subdocument/subdocument.tex
Chapter 1.
)
Runaway argument?
]{Ref1} . \ETC.
! File ended while scanning use of \@citex.
<inserted text> 
                \par 
l.46 \include{subdocument/subdocument}
                              
? 
! Emergency stop.
<inserted text> 
                \par 
l.46 \include{subdocument/subdocument}
I have no idea what's going on here. Does anyone know what is going on here? I'm using aquamacs with TexLive 2011. Could my dist be broken perhaps?

Thanks in advance!
Last edited by localghost on Sun Jun 10, 2012 2:07 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

demus
Posts: 2
Joined: Sun Jun 10, 2012 1:33 pm

Re: natbib | Runaway Argument caused by Citation

Post by demus »

localghost: Great edits! Thank you for clearing things up!
Post Reply