Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to use biblatex and I want to cite something but if I use \cite{key} or \footcite{key} the author and title is not printed but the key itself is printed.

bibtex says there are no \citation commands

TUDreport.tex

\documentclass[11pt, nochapterpage,bigchapter,linedtoc,longdoc,colorback,accentcolor=tud9b]{tudreport}

\usepackage[utf8]{inputenc}  
\usepackage{ngerman}

\usepackage[stable]{footmisc}  
\usepackage{longtable}  
\usepackage{multirow}  
\usepackage{booktabs}  
\usepackage{graphicx}  

\renewcommand{\thefigure}{\arabic{figure}}

\usepackage[backend=biber, style=authoryear, sorting=nyt]{biblatex}
\addbibresource{literatur.bib}


\begin{document}

Test\footcite{keyword}

\printbibliography  
\end{document}

literatur.bib:

@BOOK{keyword,  
  title = {Werkzeugmaschinen Maschinenarten und Anwendungsbereiche},  
  publisher = {Springer Verlag},  
  year = {2005},  
  author = {M. Weck}  
}

But instead of:

Test1


  1. Weck(2005), Werkzeugmaschinen und ....

The Output is:

Test1


  1. keyword
share|improve this question

closed as too localized by qubyte, Thorsten, lockstep, Paulo Cereda, Joseph Wright Feb 20 '12 at 17:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Welcome to TeX.SX. Please provide a minimal example so we can see exactly what you're trying to do. –  Marc van Dongen Feb 20 '12 at 13:34
    
We're going to need a little more detail to help you. The default behaviour is to print a numeric key. You have to specify a different cite style to have author or title printed as your citation. Could you post a little more detail on what your document looks like? Ideally, a small minimal example that illustrates your problem. –  Seamus Feb 20 '12 at 13:35
    
You have to run latex then biber then latex again to get the reference… –  Seamus Feb 20 '12 at 13:56
    
added some code. its 2. in the footnotes not 1. –  Andy Feb 20 '12 at 13:56
    
works perfectly –  Andy Feb 20 '12 at 14:02

1 Answer 1

In order to get references to show up, you need to run latex first. This will compile a document without the references. It will keep track of what references it will need in some auxiliary files. Then you need to run biber: this will look at those auxiliary files and then track down the keywords in the bibliography files and write other stuff to the auxiliary files. Then you need to run latex again, which will read the auxiliary files, and find the information it needs to turn \cite{keyword} into the right kind of reference.

In short, you need to run latex, then biber, then latex again. There are tools available that automate this.

share|improve this answer
    
Maybe it would be relevant to refer to tools such as latexmk that eases this process. –  N.N. Feb 20 '12 at 14:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.