我有一份德文版的 LaTeX 文档。我唯一想要的英文版是参考书目条目。我该怎么做?
这是我的最小工作示例:
我的main.tex
文件:
\documentclass[ngerman]{MastersDoctoralThesis}
\usepackage[backend=bibtex, style=ieee, citestyle=numeric-comp, natbib=true, sorting=none]{biblatex}
\addbibresource{bibfile.bib} %The filename of the bibliography
\begin{document}
\chapter{SomeExampleChapter, with Kapitel, not chapter..}
example of a citation \cite{Reference1}. Here everything is in german, e.g. Abbildung statt figure, Kapitel instead of chapter etc...
\printbibliography[heading=bibintoc]
\end{document}
和我的bibfile.bib
:
@article{Reference1,
Author = {C. J. Hawthorn and K. P. Weber and R. E. Scholten},
Journal = {Rev. Sci. Instrum.},
Number = {12},
Pages = {4477--4479},
Title = {Littrow Configuration Tunable External Cavity Diode Laser with Fixed Direction Output Beam},
Year = {2001}
}
到目前为止,参考书目如下: C. J. Hawthorn, K.P. Weber und R.E. Scholten
我希望它是:C. J. Hawthorn, K.P. Weber and R.E. Scholten
这和应改为和除此以外,什么都不应该改变。
我知道有人问过类似的问题,但我对所有的答案都很困惑。
答案1
因为我没有这个MastersDoctoralThesis
类,所以我用它替换了它report
,并且这个代码对我来说很好用:
\documentclass[english, ngerman]{report}
\usepackage{babel}
\usepackage[backend=bibtex, style=ieee, citestyle=numeric-comp, natbib=true, sorting=none, autolang=other]{biblatex}
\usepackage[autostyle]{csquotes}
\addbibresource{bibfile.bib} %The filename of the bibliography
\begin{document}
\chapter{SomeExampleChapter, with Kapitel, not chapter..}
example of a citation \cite{Reference1}. Here everything is in german, e.g. Abbildung statt figure, Kapitel instead of chapter etc...
\nocite{*}
\printbibliography[heading=bibintoc]
\end{document}