多语言书目条目:Apacite/Bibtex/Natbib

多语言书目条目:Apacite/Bibtex/Natbib

我对 LaTex 还不太熟悉,正在尝试弄清楚如何创建多语言书目。在 apacite 中可以实现吗?我没有使用 BibLaTex,尽管它管理语言的能力据说更好,因为 apacite 更符合我在大学时使用的 APA 引用规则。

我使用德语写作(正文、标题等),参考书目也是德语的。但对于英文资料,我需要自定义某些细节(而不是“5. Aufl”。我需要“第 5 版”)。有没有一种简单的方法可以更改我拥有的这个资料的设置?谢谢帮助!

\documentclass[11pt,a4paper,titlepage,toc=listofnumbered]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[greek, english, main=ngerman]{babel}
\usepackage{apacite}
\usepackage{natbib} 
\usepackage{lmodern} 

\bibliographystyle{apacite}
\AtBeginDocument{%
  \renewcommand{\BCBL}{,}%
  \renewcommand{\BCBT}{,}%
}
\usepackage{etoolbox}
\patchcmd{\thebibliography}{\section*{\refname}}{}{}{}
\renewcommand{\baselinestretch}{1.5}

\begin{document}
\thispagestyle{plain} 

Yada Yada

@Book{american2013diagnostic,
  title     = {Diagnostic and statistical manual of mental disorders},
  publisher = {American Psychiatric Association},
  year      = {2013},
  author    = {{{American Psychiatric Association}}},
  address   = {Arlington, VA},
  edition   = {5},
}


\bibliographystyle{apacite}
\bibliography{Literaturverzeichnis1} 
\nocite{*}
\end{document}

答案1

我正在跟进我的评论,以防万一您在使其工作时遇到麻烦biblatex,以展示它是如何工作的。据我所知,该biblatex-apa样式是“主要”样式,符合 APA 标准,因此如果它不能满足您的需要,我会感到惊讶。

关键在于的语言设置biblatex,以及包括一个字段(正确的langid,但hyphenation也可以)来告诉biblatex它应该使用哪种语言。

请原谅我选择的例子像喜鹊一样糟糕;恐怕我不会说德语也不会说希腊语!

\documentclass[11pt,a4paper,titlepage,toc=listofnumbered]{scrartcl}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{american2013diagnostic,
  title     = {Diagnostic and statistical manual of mental disorders},
  publisher = {American Psychiatric Association},
  year      = {2013},
  author    = {{{American Psychiatric Association}}},
  address   = {Arlington, VA},
  langid    = {english},
  edition   = {5},
}
@book{Cantor,
    author= {Cantor, Moritz.},
    title = {Vorlesungen über Geschichte der Mathematik},
    volume= {2},
    edition={2},
    address={Leipzig},
    publisher={Druck und Verlag von B.G. Teubner},
    date={1900},
    pagetotal="XII + 943 S.",
  }

@book{Vpaneta,
  author = {Συγγραφέας},
  title  = {Τίτλος},
  year   = {2012},
  langid = {greek},
  edition= {2},
}
\end{filecontents}
\usepackage[language=auto,autolang=other,style=apa]{biblatex}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[greek, english, main=ngerman]{babel}
\usepackage{lmodern}
\addbibresource{\jobname.bib}
\begin{document}

\selectlanguage{english}
There are some works you just \emph{know} are going to turn up in a psychology paper \autocite{american2013diagnostic}. And others that are a little more surprising \autocite{Cantor}. And some that just take your breath away \autocite{Vpaneta} and make you scratch your head.

\selectlanguage{ngerman}

\printbibliography

\end{document}

输出

一如既往的为你提供帮助,texdoc biblatex并且texdoc biblatex-apa是你的朋友。

相关内容