BibTeX, biblatex and biberBibliography Problem

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
sabsonne
Posts: 2
Joined: Wed Aug 10, 2011 4:36 pm

Bibliography Problem

Post by sabsonne »

Hello,
i`m new here and I have a big problem. I used more than a few days to find a solution but unfortunately without success.

I used Texlipse (plugin for eclipse) and MiKTeX.
I want to use BibTeX for formatting the references but this didn`t work.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}

\bibliographystyle{alpha}
\begin{document}
\section{Section 1}
plain text.\cite{test2}

\bibliography{literatur}
\end{document}

I have a literatur.bib file containing 1 entry (key: test2) in the same directory the .tex file lies. I also used the command \nocite{*} and anything else I found in the Internet.
Nothing helped me and slowly it gives me the willies. :(

I think BibTeX didn`t work well because the .bbl file ist empty.
The .aux file is fine and like this:
\relax
\catcode`"\active
\bibstyle{alpha}
\citation{test2}
\bibdata{literatur}
\select@language{ngerman}
\@writefile{toc}{\select@language{ngerman}}
\@writefile{lof}{\select@language{ngerman}}
\@writefile{lot}{\select@language{ngerman}}
\@writefile{toc}{\contentsline {section}{\numberline {1}Section 1}{1}}

Open the .blg file results in:
This is BibTeX, Version 0.99cThe top-level auxiliary file: document.aux
I found no \citation commands---while reading file document.aux
I found no \bibdata command---while reading file document.aux
I found no \bibstyle command---while reading file document.aux
(There were 3 error messages)


I`m very sad because I invest a lot of time to fix this but without effect.
It would be very very great if anybody has got an idea and can help me.

kind regards,
sab

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Bibliography Problem

Post by frabjous »

Your sample code works fine for me. Try running BibTeX from the command line and see if you get the same result in the .blg then. If that works, I'd guess the problem is with TeXlipse's configuration.
sabsonne
Posts: 2
Joined: Wed Aug 10, 2011 4:36 pm

Re: Bibliography Problem

Post by sabsonne »

Hello,

thanks for the very quick answer!

I think that it is an configuration problem of Texlipse, too. But I don`t know how to fix it.
Texlipse compiles the files only through a "save-file" from me.
Do you know how to use the command window manuelly?
birdy
Posts: 1
Joined: Sat Nov 12, 2011 8:50 am

Re: Bibliography Problem

Post by birdy »

I sometimes had the same problem when using Texlipse and natbib. In the .blg file it reports something like "no \citation command found".

My solution is to change the "directory for latex temporary files" settings in your project properties. Delete the default "tmp" and leave that setting blank.
After that, my configuration works on some minimal "hello world" tex files with natbib (I have not tested it with larger/multiple files).

I guess the cause for this problem is that by default texlipse produces temporary files in the "tmp" folder instead of the project's main working folder, so bibtex cannot find the .aux file. But I'm not sure if my other settings is wrong because sometimes I just need to clean the project and recompile everything and the default settings work without any modification.

Hope this helps!
Post Reply