Featured Book

LaTeX Beginners Guide

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 3 guests

Partner Sites

natbib | Runaway Argument caused by Citation

Add tags Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.

natbib | Runaway Argument caused by Citation

Postby demus on Sun Jun 10th, 2012

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  •  Open in writeLaTeX
@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  •  Open in writeLaTeX
\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  •  Open in writeLaTeX
\chapter{SubDocument}
I would like to cite this reference \cite{Ref1
}.

When I run latex I get the error message:
Code: Select all  •  Open in writeLaTeX
(./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 10th, 2012, edited 1 time in total.
Reason: Longer passages of source code are tagged as code block, not as in-line code.
demus
 
Posts: 2
Joined: Sun Jun 10th, 2012

Re: natbib | Runaway Argument caused by Citation

Postby demus on Sun Jun 10th, 2012

localghost: Great edits! Thank you for clearing things up!
demus
 
Posts: 2
Joined: Sun Jun 10th, 2012


Return to BiBTeX

Who is online

Users browsing this forum: No registered users and 3 guests
http://www.latex-community.org/forum/viewtopic.php?f=50&t=20636&p=68408
www.latex-community.org
crawl=CC-MAIN-2015-14
38698
application/http; msgtype=response
sha1:SOVBV7JGTA5YKOUHU6ZBIPGU2QFTLPNV
<urn:uuid:a50bb31e-ace2-4737-b60c-b7eda6fc1cca>
2015-03-28T09:20:24Z
78.46.26.59
sha1:IYOV6S6XQOBUH7DCDMXWUJF4KTHKYJQ2
<urn:uuid:926cc355-6c91-4932-a17a-0d0c3ed97e33>
http://www.latex-community.org/forum/viewtopic.php?f=50&t=20636&p=68408
response
<urn:uuid:705c34b3-d574-4f11-889a-15975d3330c1>
robots: classic
hostname: ip-10-168-14-71.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-14
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for March 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf