LEdProblem with manual Bibliography

Information and discussion about LEd, an integrated LaTeX environment for Windows
Post Reply
MrPhithesis
Posts: 2
Joined: Fri Dec 23, 2011 8:46 pm

Problem with manual Bibliography

Post by MrPhithesis »

Hey there,
I got a pretty darn problem:
started with Latex yesterday (hope this excuses something) and am simply not able to get {thebibliography} to work properly. :(

Code: Select all

\documentclass[ngerman]{scrartcl}
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\usepackage{babel}

\title{My topic} 
\author{My Name}
\date{...}

\begin{document}
\maketitle
\titlepage
\section{Überschrift }
Want to use a reference here.\cite{ab}

\section{Überschrift}
\begin{thebibliography}
\bibitem{ab}This is my reference
\end{thebibliography}
\end{document}
LeD tells me the following:

Code: Select all

LaTeX Warning: Citation `ab' on page 2 undefined on input line 14.


! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.18 \bibitem
             {ab}This is my reference
? 
All I get in the compiled version: [?]
Am I misunderstanding sth. crucial?
Thank you very much
PS: I am using newest Miktex and Led environment and am german (thats why Iam loading those packages)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Problem with manual Bibliography

Post by Stefan Kottwitz »

Hi,

the environment requires an argument for the label width (for the indentation), where you could specify the widest label, such as

Code: Select all

\begin{thebibliography}{ab}
\bibitem{ab}This is my reference
\end{thebibliography}
Stefan
LaTeX.org admin
MrPhithesis
Posts: 2
Joined: Fri Dec 23, 2011 8:46 pm

Re: Problem with manual Bibliography

Post by MrPhithesis »

I tried {99} and it worked!

Thanks
Post Reply