2

Today I have been playing with LATEX and I really like it up to now! But i have a problem with populating an apa style bibliography. Right now I am busy with making a template for a thesis and i am doing this by use of the book documentclass. I have been able to produce the following (in the preamble):

\usepackage{csquotes}
\usepackage[american]{babel}
\usepackage[style=apa,natbib=true]{biblatex}
\bibliography{mylib}
\DeclareLanguageMapping{american}{american-apa}

(in the middle of my code to call the cite):

\cite{Vickrey1961}.

(At the end of my document, before \end(document) to populate the bibliography):

 \printbibliography

Though, it doesn't work. When i compile the code neither errors nor the bibliography with references are being displayed. Does somebody can help me out??

Tnx in advance

1 Answers1

1

This is how it works:

First run: latex-compiler Biblatex generates a file mydocument.bcf in which it lists your bibliography files and the citation it needs.

Second run: biber: biber reads the mydocument.bcf file and your bib and creates the needed latex-code for the citations and the bibliography. The output is written to the mydocument.bbl

Third run: latex-compiler LaTeX reads the created mydocument.bbl and puts everything in the right places.

Fourth run: latex-compiler This fourth run is sometimes needed because of the changing labels of citations and the bibliography itself page numbers might have changed and the table of contents has to be updated.

latexmk automates this process, it looks itself what has to be run how many times and when.

What engine do you use? If you are using biblatex with biber i would recommend one of the newer native-unicode engines, so either lualatex or xetex.

MaxNoe
  • 6,136
  • At this moment i'm using biblatex with biber. Thanx for your advice, but it is working fine now. I had to run biber in the second place after i had run LaTeX. Then I ran LaTeX again and it worked like a charm. – user2237168 Nov 16 '14 at 17:59
  • i meant which LaTeX-engine ;) So it should either be pdflatex, lualatex or xetex. Where the latter two are more modern implentations that can directly handle unicode input and opentype-fonts. – MaxNoe Nov 16 '14 at 18:02
  • Ah okay, i'm fairly new to the program so that's why I still have to get used to the LaTeX jargon ;). But at this moment i'm using pdflatex as far as i'm concerned – user2237168 Nov 16 '14 at 18:08