GeneralProblems with Springer LNCS Class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
amaliaa25
Posts: 1
Joined: Wed Apr 04, 2012 7:38 pm

Problems with Springer LNCS Class

Post by amaliaa25 »

Hello all,

I am using TeXnicCenter on Win 7. I have downloaded llncs2e.zip from http://www.springer.com/computer/lncs/l ... 0209-0-0-0

I created a new project and checked the option uses BibTeX. After unzipping the contents of llncs2e folder, I copied all files under my project folder, and followed these steps:

1. in my main file, I have:

Code: Select all

\documentclass{llncs}

\title{MyTitle}
\author{MyName}
\institute{MyUniversity}
\maketitle

\begin{document}
First Ref  \cite{S:2009}

\bibliographystyle{splncs}
\bibliography{MyBibFile}

\end{document}
2. In MyBibFile I have

Code: Select all

@ARTICLE{S:2009,
    author = "Author",
    title = "{Title}",
    journal = "IEEE",
    month = "May",
    year = "2009",
    volume = "21",
    number = "3",
    pages = "96--101"    
}
When I run the project, I am able to view the correct text and ref in my pdf file, but I get errors like:
missing \begin{document}
and couldn't find input index file "my project path" nor "myprojectName".idx

Could you please help me? I am so confused.

Thanks you
Last edited by Stefan Kottwitz on Wed Apr 04, 2012 8:15 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.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Problems with Springer LNCS Class

Post by Stefan Kottwitz »

Hi,

welcome to the board!

The reason is, that you used \maketitle before \begin{document}. Move \maketitle after \begin{document}, since this command produces output, which belongs to the document and not to the preamble.

Stefan
LaTeX.org admin
Post Reply