I wanted to try biblatex
, but even my minimal examples don't work:
\documentclass{article}
\begin{filecontents}{\jobname.bib}
@ONLINE{Doe:2009:Online,
author = {Doe, Ringo},
title = {This is a test entry of type {@ONLINE}},
month = jun,
year = {2009},
url = {http://www.test.org/doe/}
}
\end{filecontents}
\usepackage{biblatex}
\bibliography{\jobname.bib}
\title{BibTeX Website citations with the \textsf{biblatex}~package}
\date{}
\begin{document}
\maketitle
\nocite{Doe:2009:Online}
\printbibliography
\end{document}
I just do not get any output for my document. Is there anything I have to watch out for using MiKTeX? Where does the bib file have to be? Unfortunately, I haven't found anything on the internet in this regard.
filecontents
to hold your.bib
file: this makes it easier for people to try out your demo.)\bibliography{<filename>.bib}
rather than just\bibliography{<filename>}
? The\bibliography
command always adds.bib
, so you should not use it.\bibliography
is redefined bybiblatex
so you can use it with or without specifying the.bib
extension\bibliography
for.bib
files only or\addbibresource
with a full file name. (BibTeX actually does the addition of.bib
when it reads the.aux
file.)biblatex
manual: "\bibliography{<bibfile,...>}
: The legacy command for adding bibliographic resources, supported for backwards compatibility. Like\addbibresource
, this command is only available in the preamble and adds resources to the default resource list. Its argument is a comma-separated list ofbib
files. The.bib
extension may be omitted from the filename. Invoking this command multiple times to add more files is permissible. This command is deprecated. Please consider using\addbibresource
instead.