## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ biblatex missing year

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
stegzzz
Posts: 2
Joined: Wed Jul 03, 2013 5:15 pm

### biblatex missing year

Hi,I have the latex code below. When I compile using TeXstudio the year information is missing from the in-text citation and reference list, as shown in the attached pdf. Any suggestions for what I can do to fix this?

Thanks!

\documentclass[man,11pt, a4paper]{apa6}\usepackage{filecontents}\begin{filecontents}{test.bib}@article{Smith1978,Author = {Smith, J.E.},Title = {A re-examination},Journal = {Objective Bulletin},Year = {1978},Volume = {85},Number = {3},Pages = {12-17}}\end{filecontents} \usepackage[style=apa,sortcites=true, sorting=nyt, backend=biber]{biblatex}\usepackage{csquotes}\usepackage[american]{babel}\DeclareLanguageMapping{american}{american-apa}\addbibresource{test.bib}\author{JJ}\title{Test}\shorttitle{test}\begin{document}\maketitleBlah, blah \parencite{Smith1978}. Blah, blah, blah.\printbibliography\end{document}
Attachments
reftest.pdf

Tags:

Johannes_B
Site Moderator
Posts: 4140
Joined: Thu Nov 01, 2012 4:08 pm
I just tested the code you are providing, i cannot reproduce the behaviour. The year is shown.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

stegzzz
Posts: 2
Joined: Wed Jul 03, 2013 5:15 pm
Johannes_B wrote:I just tested the code you are providing, i cannot reproduce the behaviour. The year is shown.

hmm, I suppose that means there is something about my setup. There are no errors during the build but one clue is the

\DeclareLanguageMapping{american}{american-apa}

statement that is highlighted in red in TeXstudio editor and shows 'unrecognized command' when I hover
Last edited by cgnieder on Wed Jul 03, 2013 9:59 pm, edited 1 time in total.
Reason: added code markup