Literaturverzeichnis funktioniert nicht

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


mbb5

Literaturverzeichnis funktioniert nicht

Beitrag von mbb5 »

Hallo,

ich habe da ein ziemlich großes Problem was Literaturverzeichnisse bei mir angeht. Egal was ich mache, es zeigt immer ein "?" beim zitieren an und erzeugt mir kein Literaturverzeichnis.

Sei es die Vorlage von der Uni, das Beispiel von Professorin selbst (ohne das ich da irgendwas bearbeitet habe) oder ein ganz minimiertes Beispiel, es zeigt immer die selbe Warning an:
"Citation ZitatX on Page Y undefined"
"There were undefined Citations"

Mittlerweile bin ich doch extrem verzweifelt, da ich eine Deadline habe (wo halt das zitieren im Dokument funktionieren muss) und ich mittlerweile alles versucht habe (von deinstallieren und neu installieren bis über Youtube Tutorials etc.) aber nichts funktioniert. Selbst ihre Beispielvorlage zeigt dieselben Warnings an und ich bin echt am ende meiner Möglichkeiten...

Ich habe das Ganze mal auf ein Minimales Codebeispiel reduziert, welches natürlich auch kein Literaturverzeichnis anzeigt. Aber eventuell hilft es ja. Alternativ kann ich auch den Log aus den anderen Tests oder Vorlagen posten.

T1.tex
\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl}
\setlength{\parindent}{1em}
\linespread{1.5} 
\usepackage[T1]{fontenc}
\usepackage{bibentry}
\usepackage{natbib}
\usepackage[ngerman]{babel}
\begin{document}

\tableofcontents

\section{Intro}

\section{Middle}
this is a text \cite{fahrmeir2010}

\section{Conclusion}
\nocite{*}

%\bibliographystyle{apalike}
\bibliographystyle{apalike_deutsch}
\bibliography{EigeneLiteratur}


\end{document}
EigeneLiteratur.Bib:
@BOOK{tukey1977,
	author = {Tukey, J.W.},
	title = {Exploratory data analysis},
	year = {1977},
	publisher = {Addison-Wesley Publishing Company},
	address={Massachusetts},
	pages = {610},
}

@BOOK{fahrmeir2010,
  author = {Fahrmeir, L. and Künstler, R. and Pigeot, I. and Tutz, G.},
  title = {Statistik: Der Weg zur Datenanalyse (7. Auflage)},
  year = {2010},
  publisher = {Springer--Verlag Berlin Heidelberg},
  pages = {610},
}
Am Ende zeigt man mir nach dem ausführen (Latex - Bibtex - Latex - Latex) folgenden Log an:
LOG FILE :
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7250) (preloaded format=pdflatex 2019.12.9) 9 DEC 2019 01:23
entering extended mode
**./T1.tex
(T1.tex
LaTeX2e <2019-10-01> patch level 3
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\scrart
cl.cls"
Document Class: scrartcl 2019/10/12 v3.27 KOMA-Script document class (article)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\scrkba
se.sty"
Package: scrkbase 2019/10/12 v3.27 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\scrbas
e.sty"
Package: scrbase 2019/10/12 v3.27 KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/graphics\keyval.st
y"
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\scrlfi
le.sty"
Package: scrlfile 2019/10/12 v3.27 KOMA-Script package (loading files)
)))
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\tocbas
ic.sty"
Package: tocbasic 2019/10/12 v3.27 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip41
\scr@dte@tocline@numbox=\box27
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 137.
Package scrartcl Info: You've used standard option `12pt'.
(scrartcl) This is correct!
(scrartcl) Internally I'm using `fontsize=12pt'.
(scrartcl) If you'd like to set the option with \KOMAoptions,
(scrartcl) you'd have to use `fontsize=12pt' there
(scrartcl) instead of `12pt', too.
Class scrartcl Info: File `scrsize12pt.clo' used to setup font sizes on input l
ine 2208.
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\scrsiz
e12pt.clo"
File: scrsize12pt.clo 2019/10/12 v3.27 KOMA-Script font size class option (12pt
)
)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/koma-script\typear
ea.sty"
Package: typearea 2019/10/12 v3.27 KOMA-Script package (type area)
\ta@bcor=\skip42
\ta@div=\count80
Package typearea Info: You've used standard option `a4paper'.
(typearea) This is correct!
(typearea) Internally I'm using `paper=a4'.
(typearea) If you'd like to set the option with \KOMAoptions,
(typearea) you'd have to use `paper=a4' there
(typearea) instead of `a4paper', too.
\ta@hblk=\skip43
\ta@vblk=\skip44
\ta@temp=\skip45
\footheight=\skip46
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 12
(typearea) BCOR = 0.0pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 448.13095pt
(typearea) DIV departure = -6%
(typearea) \evensidemargin = 2.4185pt
(typearea) \oddsidemargin = 2.4185pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 635.5pt
(typearea) \topmargin = -41.72441pt
(typearea) \headheight = 18.125pt
(typearea) \headsep = 21.75pt
(typearea) \topskip = 12.0pt
(typearea) \footskip = 50.75pt
(typearea) \baselineskip = 14.5pt
(typearea) on input line 1716.
)
\c@part=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\scr@dte@section@maxnumwidth=\skip47
Class scrartcl Info: using compatibility default `runin=bysign'
(scrartcl) for `\section on input line 4702.
Class scrartcl Info: using compatibility default `afterindent=bysign'
(scrartcl) for `\section on input line 4702.
\scr@dte@part@maxnumwidth=\skip48
Class scrartcl Info: using compatibility default `afterindent=false'
(scrartcl) for `\part on input line 4710.
\scr@dte@subsection@maxnumwidth=\skip49
Class scrartcl Info: using compatibility default `runin=bysign'
(scrartcl) for `\subsection on input line 4720.
Class scrartcl Info: using compatibility default `afterindent=bysign'
(scrartcl) for `\subsection on input line 4720.
\scr@dte@subsubsection@maxnumwidth=\skip50
Class scrartcl Info: using compatibility default `runin=bysign'
(scrartcl) for `\subsubsection on input line 4730.
Class scrartcl Info: using compatibility default `afterindent=bysign'
(scrartcl) for `\subsubsection on input line 4730.
\scr@dte@paragraph@maxnumwidth=\skip51
Class scrartcl Info: using compatibility default `runin=bysign'
(scrartcl) for `\paragraph on input line 4740.
Class scrartcl Info: using compatibility default `afterindent=bysign'
(scrartcl) for `\paragraph on input line 4740.
\scr@dte@subparagraph@maxnumwidth=\skip52
Class scrartcl Info: using compatibility default `runin=bysign'
(scrartcl) for `\subparagraph on input line 4750.
Class scrartcl Info: using compatibility default `afterindent=bysign'
(scrartcl) for `\subparagraph on input line 4750.
\abovecaptionskip=\skip53
\belowcaptionskip=\skip54
\c@pti@nb@sid@b@x=\box28
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lof' on input line 5969.
\scr@dte@figure@maxnumwidth=\skip55
\c@figure=\count87
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lot' on input line 5981.
\scr@dte@table@maxnumwidth=\skip56
\c@table=\count88
Class scrartcl Info: Redefining `\numberline' on input line 6145.
\bibindent=\dimen102
)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\fontenc.sty"
Package: fontenc 2018/08/11 v2.0j Standard LaTeX package
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\t1enc.def"
File: t1enc.def 2018/08/11 v2.0j Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 48.
))
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/natbib\bibentry.st
y"
Package: bibentry 2007/10/30 1.5 (PWD)
)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/natbib\natbib.sty"
Package: natbib 2010/09/13 8.31b (PWD, AO)
\bibhang=\skip57
\bibsep=\skip58
LaTeX Info: Redefining \cite on input line 694.
\c@NAT@ctr=\count89
) ("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/generic/babel\babel.st
y"
Package: babel 2019/11/14 3.36 The Babel package
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/generic/babel\switch.def
"
File: switch.def 2019/11/14 3.36 Babel switching mechanism
)
*************************************
* Local config file bblopts.cfg used
*
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/arabi\bblopts.cfg"
File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of
babel
)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/babel-german\ngerm
an.ldf"
Language: ngerman 2018/12/08 v2.11 German support for babel (post-1996 orthogra
phy)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/babel-german\ngerm
anb.ldf"
Language: ngermanb 2018/12/08 v2.11 German support for babel (post-1996 orthogr
aphy)
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/generic/babel\babel.def"
File: babel.def 2019/11/14 3.36 Babel common definitions
\babel@savecnt=\count90
\U@D=\dimen103
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/generic/babel\txtbabel.d
ef")
\bbl@dirlevel=\count91
)
Package babel Info: Making " an active character on input line 121.
))) (C:\Users\buett\Downloads\wa\build\T1.aux)
\openout1 = `T1.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Trying to load font information for T1+cmss on input line 1
0.
("C:\Users\buett\AppData\Local\Programs\MiKTeX 2.9\tex/latex/base\t1cmss.fd"
File: t1cmss.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)
(C:\Users\buett\Downloads\wa\build\T1.toc)
\tf@toc=\write3
\openout3 = `T1.toc'.
Package natbib Warning: Citation `fahrmeir2010' on page 1 undefined on input li
ne 15.
No file T1.bbl.
Package natbib Warning: There were undefined citations.
[1
{C:/Users/buett/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(C:\Users\buett\Downloads\wa\build\T1.aux) )
Here is how much of TeX's memory you used:
3985 strings out of 492446
76806 string characters out of 3119832
264283 words of memory out of 3000000
8362 multiletter control sequences out of 15000+200000
7782 words of font info for 20 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
45i,6n,56p,10090b,296s stack positions out of 5000i,500n,10000p,200000b,50000s
{C:/Users/buett/AppData/Local/Progr
ams/MiKTeX 2.9/fonts/enc/dvips/cm-super/cm-super-t1.enc}<C:/Users/buett/AppData
/Local/Programs/MiKTeX 2.9/fonts/type1/public/cm-super/sfbx1200.pfb><C:/Users/b
uett/AppData/Local/Programs/MiKTeX 2.9/fonts/type1/public/cm-super/sfrm1200.pfb
><C:/Users/buett/AppData/Local/Programs/MiKTeX 2.9/fonts/type1/public/cm-super/
sfsx1200.pfb><C:/Users/buett/AppData/Local/Programs/MiKTeX 2.9/fonts/type1/publ
ic/cm-super/sfsx1728.pfb>
Output written on C:\Users\buett\Downloads\wa\build\T1.pdf (1 page, 45882 bytes
).
PDF statistics:
23 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)


MoeWe
Forum-Meister
Forum-Meister
Beiträge: 802
Registriert: Fr 30. Aug 2019, 15:35
Kontaktdaten:

Beitrag von MoeWe »

Hast Du denn den Stil apalike_deutsch.bst installiert oder im Ordner Deiner TeX-Datei? Ich kenne nur apalike-german, also
\bibliographystyle{apalike-german}
statt \bibliographystyle{apalike_deutsch}. Eine Google-Suche nach "apalike_deutsch" liefert aktuell außer dieser Frage auch keine Treffer.

Wenn es das nicht ist, kann ich generell nur sagen, dass das
 No file T1.bbl. 
in der .aux-Datei heißt, dass LaTeX die Datei mit den Bibliographiedaten, die BibTeX schreiben sollte, nicht finden kann. Dafür kann es mehrere Ursachen geben, aber ohne weitere Details ist es recht schwierig, gute Vorhersagen zu machen, woran es denn liegt. Die einfachste Möglichkeit ist natürlich, dass BibTeX einfach nicht aufgerufen wurde, aber da Du es aufgerufen hast, liegt es nah, dass es beim BibTeX-Lauf einen Fehler gab.

Zuerst solltest Du Dir die .blg-Datei, das ist die Logdatei von BibTeX, ansehen. Auf Windows-Systemen wird die .blg-Datei oft als "Leistungsüberwachungsdatei" oder ähnliches erkannt, sie ist aber trotzdem eine einfache Textdatei, die Du mit Deinem Lieblingseditor öffnen kannst. Sie ist so kurz, dass Du sie hier vollständig posten kannst. Wenn Du Glück hast, dann wird da schon erklärt, was schief läuft. (Mit \bibliographystyle{apalike_deutsch} z.B. beschwert sich bei mir
I couldn't open style file apalike_deutsch.bst
---line 7 of file whatsgsfss.aux
 : \bibstyle{apalike_deutsch
 :                          }
I'm skipping whatever remains of this command
I found no style file---while reading file whatsgsfss.aux
das ist schon recht deutlich.)


Ansonsten solltest Du versuchen, herauszufinden, ob nach dem LaTeX-BibTeX-LaTeX-LaTeX-Zyklus überhaupt eine .bbl-Datei aufzufinden ist. Manchmal können merkwürdige Ordner-Setups oder Editor-Optionen (einen "Build"-Ordner nutzen etc. pp.) dafür sorgen, dass bestimmte Dateien nicht da sind, wo sie erwartet werden. Kannst Du uns die Ordnerstruktur Deines Projekts beschreiben?

mbb5

Beitrag von mbb5 »

Erst einmal vielen Dank für die Antwort.

Ich habe apalike-deutsch als Datei. Diese ist jedoch im Ordner für MikTex. Habe sie jetzt im selben Ordner wie die Tex-Datei.

Ansonsten habe ich mal etwas herumexperimentiert (er hat mir aus irgendeinen Grund einen Build Ordner erzeugt) und die Einstellungen zurückgesetzt. Tatsächlich funktioniert auch apalike-deutsch jetzt.

Antworten