BibTeX, biblatex and biberbiblatex missing year

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

biblatex missing year

Post by stegzzz »

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!

Code: Select all

\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}
\maketitle
Blah, blah \parencite{Smith1978}. Blah, blah, blah.
\printbibliography
\end{document}
Attachments
reftest.pdf
(45.65 KiB) Downloaded 366 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: biblatex missing year

Post by Johannes_B »

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

biblatex missing year

Post by stegzzz »

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

Code: Select all

\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.
Post Reply