引用未定义且参考文献列表未出现

引用未定义且参考文献列表未出现

当我编译位于水平线后面的代码时,我得到了下面的错误。此外,我的参考书目没有出现,引用被打印为标签名称(OMeara2006),如下图所示。

Macro 'name:apa:last-first' undefined.
Macro 'name:apa:first-last' undefined.
Citation 'Robertson2004' on page 3 undefined
Empty bibliography
There were undefined references.
Please (re)run Biber on the file:(biblatex) journSub(biblatex) and rerun LaTeX afterwards. 

\documentclass[man]{apa6}

\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{STSBib.bib}

\title{The evaluation of vertical pole configuration and location on assisting the sit-   to-stand movement in older adults with mobility limitations}
\shorttitle{Assisted sit-to-stand with vertical poles}

\threeauthors{Daniel Vena}{Alison Novak}{Geoff Fernie}
\threeaffiliations{University of Toronto and Toronto Rehabilitation Institute}{Toronto Rehabilitation Institute}{University of Toronto and Toronto Rehabilitation Institute}

\abstract{} 

\begin{document}
\maketitle
\section{Introduction}
Sit-to-stand is hard \parencite{Robertson2004}.

\printbibliography 
\end{document}

引用问题

答案1

正如您在错误消息中看到的,您应该在参考书目文件上运行 biber,然后在 .tex 文件上运行 LaTeX

答案2

我使用的命令是\citep{},它总是有效。

相关内容