I am using biblatex to format my references.
Document is book and is written in greek.
References are mainly english but I have some in greek as well.
While the authoryear style works very well, the apa style is not working for me. Here is a minimum working example:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{test.bib}
@article{article01,
Author = {LastName FirstName},
Journal = {A journal name},
Pages = {311--314},
Title = {A title in greek (όπως αυτός)},
Volume = {311},
Number = {2},
Year = {2011}}
\end{filecontents}
\usepackage[style=apa,backend=biber]{biblatex}
\usepackage{xgreek}
\usepackage{xltxtra}
\DeclareLanguageMapping{english}{greek}
\setmainfont[Mapping=tex-text,Ligatures=Common]{Courier New}
\setsansfont[Mapping=tex-text,Scale=MatchLowercase]{Courier New}
\setmonofont[Scale=MatchLowercase]{Courier New}
\def\refname{Βιβλιογραφία}
\bibliography{test.bib}
\begin{document}
I want to use \fullcite{article01} as well.
\printbibliography
\end{document}
produces:
! Undefined control sequence.
<argument> \mkbibdateapalongextra
{year}{month}{day}\iffieldundef {endyear}{...
and the output looks like:
FirstName, L. (yearmonthday). A title in greek (όπως αυτός). A journal name, 311 (2), 311—314.
Any help is appreciated!
PS: Note that if I replace style=apa with style=authoryear everything runs smoothly.
babelbut I guess if you're using XeLaTeX, you should load... the XeTeX version of babel, whatever it's called.polyglossia? – Seamus Apr 18 '11 at 17:43