You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage[backend=biber,style=gb7714-2015ay,gbpub=true]{biblatex}%sorting=nyt\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{Yi2013,
Title = {超声速和高超声速喷管设计},
Address = {北京},
Author = {易仕和 and 赵玉新 and 何霖 and 张敏莉},
Publisher = {国防工业出版社},
Year = {2013}
}
@Book{Yi2013Eng,
Title = {Supersonic and hypersonic nozzle design},
Address = {Beijing},
Author = {Yi, Shi he and Zhao, Yu xin and He, Lin and Zhang, Min li},
Publisher = {National Defense Industry Press},
Year = {2013}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\defdoublelangentry{Yi2013}{Yi2013Eng}
\addbibresource[location=local]{example.bib}
\begin{document}
双语文献引用\cite{Yi2013}
\printbibliography[heading=bibliography, title=参考文献]
\end{document}
\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以上版本,使用以下动态方法:\defdoublelangentry{易仕和2013--}{Yi2013--}
可以正常输出双语参考文献。
但是,如果
bib
文件中,中文文献的citekey是用英文写的,那么在文末输出参考文献时,会先输出一遍中文,再输出两遍英文,多余了一遍英文,如图。附文件代码、biblatex
版本。文件代码:
biblatex
版本:The text was updated successfully, but these errors were encountered: