多語言參考書目條目: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是你的朋友。

相關內容