Hallo allerseits,
ich möchte für eine Studienarbeit einige Referenzen verwenden, die ich in biblio.bib gesichert habe. Da ich im fertigen Dokument als Referenzangaben im Text
[?] bei korrekt angezeigtem Literaturverzeichnis erhalte, habe ich das Log durchsucht. Dort steht als Fehler:
LaTeX Warning: Citation `Schreiber2000' on page 1 undefined on input line 29.
LaTeX Warning: Citation `Lee2007' on page 1 undefined on input line 29.
LaTeX Warning: There were undefined references.
Auf der Suche nach der Lösung des Problems bin ich den Weg über ein Minimaldokument gegangen. Dies sieht folgendermaßen (ohne Kommentare) aus:
\documentclass[a4paper,onecolumn,11pt]{article}
\begin{document}
Hello \cite{Schreiber2000} World!
\bibliographystyle{unsrt}
\bibliography{biblio}
\end{document}
Die biblio-Datei entsprechend so:
@ARTICLE{Lee2007,
author={Kyoung Eun Lee, Jae Woo Lee, and Byoung Hee Hong},
title={Complex networks in a stock market},
journal={Comput Phys Commun},
volume={177},
number={1--2},
year={2007},
pages={186}
}
@ARTICLE{Schreiber2000,
author={Thomas Schreiber},
title={Measuring information transfer},
journal={Phys Rev Lett},
volume={85},
number={2},
year={2000},
pages={461--464}
}
Kompiliere ich den oben angegebenen Code läuft alles glatt durch. Sowohl das Zitat im Text, als auch die Referenzen zeigen korrekt
[1] bzw. die Schreiber-Quelle an. Keine Fehler, keine Warnungen.
Nun habe ich das Minimalbeispiel verändert und die zweite Quelle hinzugefügt:
\documentclass[a4paper,onecolumn,11pt]{article}
\begin{document}
Hello \cite{Schreiber2000} World \cite{Lee2007}!
\bibliographystyle{unsrt}
\bibliography{biblio}
\end{document}
Nach
einmaligem Kompilieren besteht das Literaturverzeichnis nur aus der Schreiber-Quelle und im Text erhalte ich an den cite-Stellen jeweils
[?]. Das vollständige Log meldet:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2015.12.10) 30 DEC 2015 13:41
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 78 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h 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
)
No file test.aux.
\openout1 = `test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Warning: Citation `Schreiber2000' on page 1 undefined on input line 29.
LaTeX Warning: Citation `Lee2007' on page 1 undefined on input line 29.
(./test.bbl) [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux)
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
)
Here is how much of TeX's memory you used:
213 strings out of 493304
2264 string characters out of 6139870
51880 words of memory out of 5000000
3753 multiletter control sequences out of 15000+600000
5199 words of font info for 19 fonts, out of 8000000 for 9000
957 hyphenation exceptions out of 8191
21i,4n,21p,135b,135s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></us
r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/shar
e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texli
ve/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on test.pdf (1 page, 44517 bytes).
PDF statistics:
24 PDF objects out of 1000 (max. 8388607)
16 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Direkt das zweite Kompilieren hinterhergeschoben ergänzt das Literaturverzeichnis korrekt um die Lee-Quelle, jedoch bleiben im Text die beiden
[?] bestehen. Das Log dazu:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2015.12.10) 30 DEC 2015 13:43
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 78 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h 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
)
No file test.aux.
\openout1 = `test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 26.
LaTeX Font Info: ... okay on input line 26.
LaTeX Warning: Citation `Schreiber2000' on page 1 undefined on input line 29.
LaTeX Warning: Citation `Lee2007' on page 1 undefined on input line 29.
(./test.bbl) [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux)
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
)
Here is how much of TeX's memory you used:
213 strings out of 493304
2264 string characters out of 6139870
52880 words of memory out of 5000000
3753 multiletter control sequences out of 15000+600000
5199 words of font info for 19 fonts, out of 8000000 for 9000
957 hyphenation exceptions out of 8191
21i,4n,21p,135b,135s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></us
r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/shar
e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texli
ve/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on test.pdf (1 page, 48780 bytes).
PDF statistics:
24 PDF objects out of 1000 (max. 8388607)
16 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Weitere Kompilierungen ändern nichts am Resultat. Entferne ich jedoch wieder den zweiten cite-Befehl, läuft alles ganz korrekt ab, Schreiber wird im Text korrekt mit
[1] zitiert und im Literaturverzeichnis genannt.
Wie kommt es dazu, dass ich nur eine Literaturquelle durchkompilieren kann?
Zu meinem System:
- OS: Ubuntu 14.04
- TeX-Editor: RStudio, Version 0.99.489
Bin für jede Hilfe dankbar! Viele Grüße!