Open AvoidAcid opened 1 year ago
我看看,最近outlook邮箱不能用手机登录,邮件收不到可能回复不那么快,抱歉。
你多加了一句话
\addbibresource[location=local]{example.bib}
这里面可能有定义有相关的文献,所以多输出了。
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}%sorting=nyt
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{Yi2013Eng,
Title = {超声速和高超声速喷管设计},
Address = {北京},
Author = {易仕和 and 赵玉新 and 何霖 and 张敏莉},
Publisher = {国防工业出版社},
Year = {2013},
}
@Book{Yi2013En2,
Title = {Supersonic and hypersonicb},
Address = {Beijing},
Author = {Yi, Shi he and He, Lin and Zhang, Min li},
Publisher = {National Defense Industry Press},
Year = {2013}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\defdoublelangentry{Yi2013Eng}{Yi2013En2}
\begin{document}
\cite{Yi2013Eng}
\printbibliography[heading=bibliography]
\end{document}
结果为:
文档中,对于
biblatex
3.7以上版本,使用以下动态方法:可以正常输出双语参考文献。
但是,如果
bib
文件中,中文文献的citekey是用英文写的,那么在文末输出参考文献时,会先输出一遍中文,再输出两遍英文,多余了一遍英文,如图。附文件代码、biblatex
版本。文件代码:
biblatex
版本: