On Miktex your example with apa doesn't work due to two reasons:
- There is the language mapping commands missing which loads an
xxx-apa.lbx
which contains some apa specific settings.
- You are using
canadian
as language and the necessary canadian-apa.lbx
doesn't exist here.
To solve 1. I used the following example (test.bib
is the name of my bib-files for tests):
\documentclass{article}
\usepackage[canadian]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{canadian}{canadian-apa}
\addbibresource{test.bib}
\begin{document}
This statement is true \parencite[5-8]{Ref}.
\printbibliography
\end{document}
To solve 2. I used one existing xxx-apa.lbx
(e.g. british-apa.lbx
or american-apa.lbx
I have no idea which is better suited as starting point) and made a copy called canadian-apa.lbx
. Then I changed in the file in two places the language to "canadian":
- In the first line:
\ProvidesFile{canadian-apa.lbx}
- In
\DefineBibliographyExtras{canadian}...
and stored the file in a place where latex can find it.
An alternative way is to use e.g. the language american
for the bibliography:
\documentclass{article}
\usepackage[canadian]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber,language=american]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{test.bib}
\begin{document}
This statement is true \parencite[5-8]{Ref}.
\printbibliography
\end{document}
biber
after you changed fromauthoryear
toapa
? Not sure about TeXlipse, but you can remove the.bbl
file to force rebuild (run againbiber
)..bbl
forces TeXlipse to rerun biber. Thanks!