早上好。
我对 BibLatex 还不太熟悉,遇到了一些问题。我先向你展示一下我的代码的 MWE:
\documentclass[a4paper, 12pt]{article}
\usepackage[spanish,es-tabla]{babel}
\usepackage[utf8]{inputenc}
\usepackage[backend = biber, style = apa]{biblatex}
\DefineBibliographyStrings{spanish}{andothers={et~al\adddot}}
\DeclareLanguageMapping{spanish}{spanish-apa6}
\addbibresource{references.bib}
\begin{document}
\setcounter{smartand}{1}
\selectlanguage{spanish}
First cite: \parencite{santiago2008patrones}, \parencite{santiago2008patrones}
Second cite: \parencite{mill1869system}
\printbibliography
\end{document}
我的书目文件包含以下内容:
@article{santiago2008patrones,
title={Patrones, generalización y estrategias inductivas de estudiantes de 3º y 4º de Educación Secundaria Obligatoria en el problema de las baldosas},
author={Cañadas, María C and Castro, Encarnación and Castro, Enrique},
journal={PNA},
volume={2},
number={3},
pages={137--151},
year={2008},
publisher={Grupo Didáctica de la Matemática. Pensamiento Numérico}
}
@Book{mill1869system,
title={A System of Logic, Ratiocinative and Inductive: Being a Connected View of the Princilples of Evidence and the Methods of Scientific Investigation},
author={Mill, John Stuart},
year={1869},
publisher = {Harvard University Press},
location = {Nueva York}
}
当我编译我的文件时,我得到以下信息:
在这里,我几乎发现了 2 个错误。
第一个:第一个引用的首次出现应该是(Cañadas, Castro y Castro, 2008)
,但显示的是 et al.。
第二个:第二个引用的位置未显示在参考文献列表中。在等效文档中,我使用 apatite 和 BibTex,没有遇到此问题。
提前非常感谢您!
答案1
根据手册第 7 版(自 2019 年起),您所看到的行为是正确的 APA 样式。请参阅https://apastyle.apa.org/style-grammar-guidelines/citations/basic-principles/author-date,https://apastyle.apa.org/style-grammar-guidelines/references/elements-list-entry和https://apastyle.apa.org/style-grammar-guidelines/references/examples/book-references。
这就是您从 的当前版本中获得的biblatex-apa
内容style=apa,
。
\documentclass[a4paper, 12pt]{article}
\usepackage[spanish,es-tabla]{babel}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, style=apa]{biblatex}
\DefineBibliographyStrings{spanish}{andothers={et~al\adddot}}
\begin{filecontents}{\jobname.bib}
@article{santiago2008patrones,
title = {Patrones, generalización y estrategias inductivas de estudiantes
de 3º y 4º de Educación Secundaria Obligatoria
en el problema de las baldosas},
author = {Cañadas, María C and Castro, Encarnación and Castro, Enrique},
journal = {PNA},
volume = {2},
number = {3},
pages = {137--151},
year = {2008},
publisher = {Grupo Didáctica de la Matemática. Pensamiento Numérico},
}
@Book{mill1869system,
title = {A System of Logic, Ratiocinative and Inductive:
Being a Connected View of the Princilples of Evidence
and the Methods of Scientific Investigation},
author = {Mill, John Stuart},
year = {1869},
publisher = {Harvard University Press},
location = {Nueva York},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\setcounter{smartand}{1}
\selectlanguage{spanish}
First cite: \parencite{santiago2008patrones,santiago2008patrones}
Second cite: \parencite{mill1869system}
\printbibliography
\end{document}
您想要的行为是第 6 版 APA 样式(从 2009 年开始),您可以biblatex-apa6
通过选项获取style=apa6,
。
\documentclass[a4paper, 12pt]{article}
\usepackage[spanish,es-tabla]{babel}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, style=apa6]{biblatex}
\DefineBibliographyStrings{spanish}{andothers={et~al\adddot}}
\begin{filecontents}{\jobname.bib}
@article{santiago2008patrones,
title = {Patrones, generalización y estrategias inductivas de estudiantes
de 3º y 4º de Educación Secundaria Obligatoria
en el problema de las baldosas},
author = {Cañadas, María C and Castro, Encarnación and Castro, Enrique},
journal = {PNA},
volume = {2},
number = {3},
pages = {137--151},
year = {2008},
publisher = {Grupo Didáctica de la Matemática. Pensamiento Numérico},
}
@Book{mill1869system,
title = {A System of Logic, Ratiocinative and Inductive:
Being a Connected View of the Princilples of Evidence
and the Methods of Scientific Investigation},
author = {Mill, John Stuart},
year = {1869},
publisher = {Harvard University Press},
location = {Nueva York},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\setcounter{smartand}{1}
\selectlanguage{spanish}
First cite: \parencite{santiago2008patrones,santiago2008patrones}
Second cite: \parencite{mill1869system}
\printbibliography
\end{document}
请注意,无论哪种情况,您都不需要也不应该有以下行
\DeclareLanguageMapping{spanish}{spanish-apa6}
\DeclareLanguageMapping{spanish}{spanish-apa}
在旧版本的 中,当它实施第 6 版 APA 格式时,需要一行 这样的行biblatex-apa
。但是自 2017 年 11 月以来,该行已不再需要。自从 的第一个版本是在 2017 年 11 月之后发布的, 行从来都不是\DeclareLanguageMapping{spanish}{spanish-apa6}
必需的biblatex-apa6
。