PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit bibtex



unique
11-07-2011, 16:42
Hi Leute,
irgendwie funktioniert die Verwendung von bibtex bei mir nicht...

Ich habe folgenden Code:

Die Datei test.bib


@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006" }


Und test.tex


\documentclass[11pt]{article}
\usepackage{cite}

\begin{document}

\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle

Blablabla sagte Nobody ~\cite{Nobody06}.

\bibliography{test}{}
\bibliographystyle{plain}
\end{document}


aus diesem Beispiel: http://www.bibtex.org/Using/de/

Wenn ich nun ein PDF aus test.tex erstelle steht an der Stelle von \cite nur [?] und die Bibliographie taucht überhaupt nicht auf.

Was läuft hier falsch?
Vielen Dank schon mal!

Sepp99
11-07-2011, 16:54
Versuche einmal dieses Beispiel:

\documentclass[11pt]{article}
\usepackage{cite}

\usepackage{filecontents}
\begin{filecontents}{biblio1.bib}
@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006" }
\end{filecontents}

\begin{document}

\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle

Blablabla sagte Nobody ~\cite{Nobody06}.

\bibliography{biblio1}{}
\bibliographystyle{plain}
\end{document}

Sonst wäre es gut, wenn Du deine log-Datei bzw. die Fehlermeldungen senden könntest.

Gruß, Sepp.-

unique
11-07-2011, 17:04
Danke für die schnelle Antwort!
Leider hat das auch nicht funktioniert...
Hier das test.log:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.4.5) 11 JUL 2011 17:03
entering extended mode
%&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/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
)
(/usr/share/texmf-texlive/tex/latex/cite/cite.sty
LaTeX Info: Redefining \cite on input line 285.
LaTeX Info: Redefining \nocite on input line 356.
Package: cite 2009/08/29 v 5.2
)
(/usr/share/texmf-texlive/tex/latex/filecontents/filecontents.sty
Package: filecontents 2009/03/17 v1.2 Create an external file from within a LaT
eX document
)

LaTeX Warning: Overwriting file `./biblio1.bib'.

\openout15 = `biblio1.bib'.


(./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 17.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 17.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 17.


LaTeX Warning: Citation `Nobody06' on page 1 undefined on input line 19.

No file test.bbl.
[1

{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux)

LaTeX Warning: There were undefined references.

)
Here is how much of TeX's memory you used:
332 strings out of 493848
3796 string characters out of 1152824
48884 words of memory out of 3000000
3674 multiletter control sequences out of 15000+50000
7283 words of font info for 26 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
21i,6n,20p,152b,312s stack positions out of 5000i,500n,10000p,200000b,50000s
</usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/sha
re/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-tex
live/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texmf-texlive/fonts/t
ype1/public/amsfonts/cm/cmr17.pfb>
Output written on test.pdf (1 page, 41800 bytes).
PDF statistics:
22 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)

bobmalaria
11-07-2011, 17:08
hi,

kann es sein das du bibtex noch gar nicht aufgerufen hast?

du musst am besten folgende sequenz ausfuehren.

pdflatex
bibtex
pdflatex
pdflatex

nach dem ersten pdflatex sollten anstatt der zitate ? stehen, z.b. [?], nach dem bibtex lauf und den weiteren pdflatex laeufen sollte alles richtig aufgeloest sein.

bibtex kann man meist aus dem editor heraus ausfuehren oder man gibt, sich im ordner der tex datei befindend, bibtex dateiname in der kommandozeile/eingabeaufforderung ein.

gruss

Sepp99
11-07-2011, 17:09
Wie rufst Du den bibtex auf?

Gruß, Sepp.-

EDIT: @bobmalaria war schneller.

unique
11-07-2011, 17:11
Ding ding ding, danke!!! Da sieht man, dass es meine ersten Versuche mit Bibtex sind... ;)
Vielen Dank nochmal!