I'm trying to get the Chicago Biblatex package to work, but I haven't found any good example on the web. I downloaded the package and put all the relevant files into the working directory. But the following tex document gives me an error:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{filecontents}{\jobname.bib}
@phdthesis{Doe11,
title={The Title},
author={Doe, J.},
year={2011},
school={University of Mars}
},
@article{JohSil05,
title={EbayesThresh: R programs for Empirical Bayes Thresholding},
author={Johnstone, I.M. and Silverman, B.W.},
journal={Journal of Statistical Software},
volume={12},
number={8},
pages={1--38},
year={2005}
},
@book{Joh11,
title = {Gaussian estimation: Sequence and multiresolution models},
author = {Johnstone, Ian M.},
year = {2011},
}
\end{filecontents}
\usepackage[authordate]{biblatex-chicago}
\DeclareFieldFormat[article]{title}{\mkbibquote{#1}} % make article titles in quotes
\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}} % make theses italics
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
And here's the error I get
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./Untitled.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. (/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/inputenc.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/base/utf8.def (/usr/local/texlive/2015/texmf-dist/tex/latex/base/t1enc.dfu) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/ot1enc.dfu) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/omsenc.dfu)))
LaTeX Warning: File `Untitled.bib' already exists on the system. Not generating it from this source.
(./biblatex-chicago.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/biblatex/biblatex.sty
Package biblatex Warning: No "backend" specified, using Biber backend. (biblatex) To use BibTeX, load biblatex with (biblatex) the "backend=bibtex" option.
(/usr/local/texlive/2015/texmf-dist/tex/latex/biblatex/biblatex2.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/kvoptions.sty (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/infwarerr.sty) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/etexcmds.sty (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))) (/usr/local/texlive/2015/texmf-dist/tex/latex/logreq/logreq.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/logreq/logreq.def)) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/url/url.sty) (/usr/local/texlive/2015/texmf-dist/tex/latex/biblatex/blx-dm.def) (/usr/local/texlive/2015/texmf-dist/tex/latex/biblatex/blx-compat.def) (/usr/local/texlive/2015/texmf-dist/tex/latex/biblatex/biblatex.def) (./chicago-authordate.bbx) (./chicago-authordate.cbx (./chicago-dates-common.cbx
./chicago-dates-common.cbx:156: LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...
l.156 \DeclareBibliographyOption[bo olean]{genallnames}[true]{% ?
Thanks for your help!
filecontents
package explicitly (before\begin{filecontents}
, obviously) and rerun latex, biber, and latex?biblatex-chicago
package is loaded by your system? Is it version 3.4, dated 2016/06/01?