我使用 biblatex 和 biber 来引用参考文献。无论我选择哪种引用样式,总是使用参考文献的简写。我尝试过 authoryear 和 numeric。多次尝试。我还使用了以下编译循环:Latex、biber、2x Latex。我不知道如何继续修复该问题。
这是我的代码示例:
\documentclass[12pt,a4paper,oneside,ngerman,numbers=enddot]{article}
\usepackage[german, ngerman]{babel} % Neue deutsche Rechtschreibung
\usepackage[utf8]{inputenc} % Zeichensatz
\usepackage[T1]{fontenc} % Schriftart
\usepackage{setspace} % Zeilenabstand
\onehalfspacing % 1,5 Zeilen
\usepackage{microtype} % mikrotypographische Optimierungen
\usepackage[backend=biber,style=authoryear,citestyle=authoryear]{biblatex}
\addbibresource{bibliographie.bib}
\begin{document}
This is a test. \cite{UnitedNations.12.2015}
\end{document}
参考书目条目:
@misc{UnitedNations.12.2015,
year = {12.2015},
title = {Paris Agreement},
url = {https://unfccc.int/sites/default/files/english_paris_agreement.pdf},
urldate = {2021-10-17},
editor = {{United Nations}},
abstract = {},
location = {Paris},
shorthand = {Paris},
file = {english{\_}paris{\_}agreement:Attachments/english{\_}paris{\_}agreement.pdf:application/pdf}
}
BLG 文件:
[0] Config.pm:311> INFO - This is Biber 2.16
[0] Config.pm:314> INFO - Logfile is 'Vorlage Hausarbeiten.blg'
[145] biber-MSWIN64:340> INFO - ===
[202] Biber.pm:415> INFO - Reading 'Vorlage Hausarbeiten.bcf'
[360] Biber.pm:952> INFO - Found 1 citekeys in bib section 0
[383] Biber.pm:4340> INFO - Processing section 0
[398] Biber.pm:4531> INFO - Looking for bibtex format file 'bibliographie.bib' for section 0
[450] bibtex.pm:1689> INFO - LaTeX decoding ...
[556] bibtex.pm:1494> INFO - Found BibTeX data source 'bibliographie.bib'
[593] Utils.pm:395> WARN - legacy year field '12.2015' in entry 'UnitedNations.12.2015' is not an integer - this will probably not sort properly.
[610] UCollate.pm:68> INFO - Overriding locale 'de-DE' defaults 'variable = shifted' with 'variable = non-ignorable'
[610] UCollate.pm:68> INFO - Overriding locale 'de-DE' defaults 'normalization = NFD' with 'normalization = prenormalized'
[610] Biber.pm:4168> INFO - Sorting list 'nyt/global//global/global' of type 'entry' with template 'nyt' and locale 'de-DE'
[610] Biber.pm:4174> INFO - No sort tailoring available for locale 'de-DE'
[617] bbl.pm:654> INFO - Writing 'Vorlage Hausarbeiten.bbl' with encoding 'UTF-8'
[618] bbl.pm:757> INFO - Output to Vorlage Hausarbeiten.bbl
[619] Biber.pm:128> INFO - WARNINGS: 1
以下是 PDF 中结果的图片:
答案1
这是预期的行为。
此shorthand
字段可用于强制特定引用标签或多或少独立于样式。它将优先于您原本看到的样式自动生成的标签。
这biblatex
文档对该字段的解释如下
shorthand
字段(文字)//标签字段引用样式使用的特殊标记,而不是通常的标签。如果定义,它将覆盖默认标签。
在您的示例中,您可能不想设置shorthand
为Paris
。根据您要查找的内容,shorthand
完全删除该字段或使用稍微更有用的东西,例如shorthand = {Paris Agreement},
。