解释:
我正在尝试从 迁移natbib
到biblatex
。
我不知道这是否是个好主意,但根据下面的一些链接,似乎是这样的。
无论如何,我有一些小的尚存问题:
当某篇论文有多位作者时,在参考文献中,第一作者的写法如下:
罗伯特,J.
-> 姓氏在前,名字的第一个字母在后。
好的。这就是我想要的。
但是,所有其他作者的列表如下:
J. Haking 和 Matthew Haris
因此先是名字的首字母(或全名),然后是姓氏。
因此,它与第一作者相反!
问题:
问题一:名字排列相同;
我想知道这是否是正常行为,我怎么能有相同的安排,即姓氏在前,然后是名字的第一个字母每一个列出了作者吗?
问题 2:获取名字的首字母;
有没有办法强制类似于初始显示名字而不是全名?
我现在把这两个名字混在一起了...
是的,我知道,我可以(应该)在 *.bib 文件中正确地做到这一点...
但是,如果我在 *.bib 文件中写下全名,而我想在参考文献中使用缩写形式,我该怎么做呢?
问题 3:两篇论文是同一作者;
我曾经在两篇不同的论文中用到了同一个作者。很好。但第二篇论文是这样算出来的:
—(2005年)。“标题”……
作者姓名被一个大连字符代替了。我猜是因为上面的参考资料中已经有了,但我觉得它很丑。
再次,这种行为正常吗?有没有办法强制在此处写上作者姓名?
代码:
我目前biblatex
在序言中这样呼吁:
% Biblatex bibligraphy:
\usepackage[
backend=bibtex,
style=authoryear,
citestyle=authoryear-comp,
natbib=true,
sorting=nyvt, % https://tex.stackexchange.com/questions/51434/biblatex-citation-order
doi=false,isbn=false,url=false
]
{biblatex}
\setlength\bibitemsep{0.64\baselineskip}
% \bibliography{<mybibfile>}% ONLY selects .bib file; syntax for version <= 1.1b
\addbibresource{biblio.bib}% Syntax for version >= 1.2
%%%%%%%%%%%%%%%%%%%%%%%%
在文档中我想要参考的正确位置:
\newpage{}
\markboth{References}{References}
\addcontentsline{toc}{chapter}{References}
\nocite{*}
% Biblatex bibligraphy:
\printbibliography%[]
有用的链接:
bibtex 与 biber 以及 biblatex 与 natbib 的比较
要切换到 biblatex 该怎么做?
Biblatex 引用顺序
Natbib 书目样式:https://fr.sharelatex.com/learn/Natbib_bibliography_styles
Natbib 引用样式:https://fr.sharelatex.com/learn/Natbib_citation_styles
Biblatex 书目样式:https://fr.sharelatex.com/learn/Biblatex_bibliography_styles
Biblatex 引用样式:https://fr.sharelatex.com/learn/Biblatex_citation_styles
更新:
梅威瑟:
test.tex 内容:
\documentclass[a4paper,12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage[british,UKenglish,USenglish,english,american]{babel}
\usepackage[T1]{fontenc}
\usepackage[
backend=bibtex,
style=authoryear,
citestyle=authoryear-comp,
natbib=true,
sorting=nyvt,
doi=false,isbn=false,url=false
]
{biblatex}
\setlength\bibitemsep{0.64\baselineskip}
\addbibresource{ref.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\newpage{}
\markboth{References}{References}
\addcontentsline{toc}{chapter}{References}
\nocite{*}
\printbibliography
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ref.bib 内容:
@INPROCEEDINGS{item1,
author={F. LastName1 and G. LastName2 and Haris LastName3},
booktitle={1574 International Conference on LaTeX },
title={Kings in Europe},
year={1574},
pages={2-4},
month={Jun}
},
@inproceedings{item2,
title = "Trees are not animals",
author = "Mike Haking and John Roberts",
year = "1575",
month = "November",
pages = "18--20",
volume = "8",
booktitle = "IEEE International Conference on E-Documents processing",
},
@inproceedings{item3,
title = "Travel through time",
author = "Mike Haking and John Roberts",
year = "2098",
month = "May",
pages = "4--8",
volume = "1",
booktitle = "American Conference on Time Traveling"
}
结果是:
答案1
当我找到一些答案时,我将它们发布在这里:
答案:
答案1:名称排列相同;
这是“authoryear”样式的正常行为。要更改它,必须在导入“biblatex”后在序言中添加此行:\DeclareNameAlias{sortname}{family-given}
答案2:获取名字的首字母;
获取名字首字母的方法是在导入 `biblatex` 时在其选项 [] 中添加以下内容:firstinits=true,
答案 3:两篇论文是同一作者;
消除多个相同作者的连字符的方法是在导入 `biblatex` 时在其选项 [] 中添加以下内容:dashed=false,