BibTeX für Anfängerinnen

Erstellung eines Literaturverzeichnisses mit BibTeX, Biber, BibLaTeX und Co.


IrenaSekuta
Forum-Century
Forum-Century
Beiträge: 230
Registriert: Di 2. Dez 2008, 10:05

BibTeX für Anfängerinnen

Beitrag von IrenaSekuta »

Hallo liebe LaTeX-Community,

so langsam verzweifle ich an der Erstellung eines Literaturverzeichnisses.

Folgendes Minimalbeispiel:
\documentclass[11pt]{article}
\usepackage{cite}

\begin{document}

\title{Versuch Literaturverzeichnis}
\author{Irena Sekuta}
\date{Today}
\maketitle

Hier soll nun eine Referenz auf ein Zitat erscheinen \cite{001}.

\bibliography{Lit}{}
\bibliographystyle{alpha}
\end{document}
will nicht funktionieren.

Die BibTex-Datei "Lit.bib" sieht dabei wie folgt aus:
% This file was created with JabRef 2.4.2.
% Encoding: Cp1252

@ARTICLE{001,
author = {Mustermann, Hans},
title = {Einfach nur ein Titel},
journal = {Ein Journamtitel},
year = {2009},
volume = {1},
pages = {12}
}

@comment{jabref-meta: selector_publisher:}

@comment{jabref-meta: selector_author:}

@comment{jabref-meta: selector_journal:}

@comment{jabref-meta: selector_keywords:}
Zunächste einmal starte ich auf der Befehlszeile
latex.exe Literatur.tex
Das Ergebnis ist:
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=latex 2009.3.20)  20 MAR 2009 13:54
entering extended mode
**Literatur
(Literatur.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size11.clo"
File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.7\tex\latex\cite\cite.sty"
LaTeX Info: Redefining \cite on input line 149.
LaTeX Info: Redefining \nocite on input line 214.
Package: cite 2003/11/04  v 4.01
)
No file Literatur.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 9.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 9.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 9.

LaTeX Warning: Citation `001' on page 1 undefined on input line 11.

No file Literatur.bbl.
[1

] (Literatur.aux)

LaTeX Warning: There were undefined references.

 ) 
Here is how much of TeX's memory you used:
 296 strings out of 95291
 2992 string characters out of 1182873
 46902 words of memory out of 1500000
 3585 multiletter control sequences out of 110000
 7283 words of font info for 26 fonts, out of 3000000 for 5000
 14 hyphenation exceptions out of 8191
 21i,6n,20p,139b,187s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on Literatur.dvi (1 page, 552 bytes). 
Nun gebe ich auf der Konsole ein
bibtex Literatur
Das Ergebnis ist:
This is BibTeX, Version 0.99c (MiKTeX 2.7)
The top-level auxiliary file: d:\TeX_test\Literatur.aux
I couldn't open database file Lit.bib
---line 3 of file d:\TeX_test\Literatur.aux
 : \bibdata{Lit
 :             }
I'm skipping whatever remains of this command
The style file: alpha.bst
I found no database files---while reading file d:\TeX_test\Literatur.aux
Warning--I didn't find a database entry for "001"
(There were 2 error messages)
Die Datei Literatur.bbl sieht wie folgt aus:
\begin{thebibliography}{}

\end{thebibliography}
Was genau mache ich denn falsch?

Ich arbeite unter WinXP und dort unter MikTex 2.7.

Gruß,

Irena

Benutzeravatar
domwass
TeX-Entwickler
TeX-Entwickler
Beiträge: 617
Registriert: Di 26. Aug 2008, 12:44
Kontaktdaten:

Re: BibTeX für Anfängerinnen

Beitrag von domwass »

IrenaSekuta hat geschrieben: Nun gebe ich auf der Konsole ein
bibtex Literatur
Das Ergebnis ist:
This is BibTeX, Version 0.99c (MiKTeX 2.7)
The top-level auxiliary file: d:\TeX_test\Literatur.aux
I couldn't open database file Lit.bib
---line 3 of file d:\TeX_test\Literatur.aux
 : \bibdata{Lit
 :             }
I'm skipping whatever remains of this command
The style file: alpha.bst
I found no database files---while reading file d:\TeX_test\Literatur.aux
Warning--I didn't find a database entry for "001"
(There were 2 error messages)
Nun, offensichtlich wird die Datei Lit.bib nicht gefunden. Wo liegt sie denn? In demselben Verzeichnis? Wenn nicht, muss sie an einer Stelle liegen, an der BibTeX sie auch finden kann.

Gruß,
Dominik.-

IrenaSekuta
Forum-Century
Forum-Century
Beiträge: 230
Registriert: Di 2. Dez 2008, 10:05

Beitrag von IrenaSekuta »

Hallo Dominik,

die Dateien
Literatur.tex
Lit.bib
liegen in demselben Verzeichnis. Aus diesem Grund wundert mich auch die Fehlermeldung. Aber Du hast mich gerade auf eine Idee gebracht.... .... und ich habe sie soeben umgesetzt....Es lag daran, dass WinXP die Datei offenkundig aus welchem Grund auch immer als geöffnet ansah. Erst nachdem ich das Programm "Unlocker" auf die datei angesetzt habe, funktioniert es.

So langsam sollte ich mir wirklich überlegen auf Linux umzusteigen...

Lieben Gruß,

Irena

Antworten