微量元素

微量元素

我正在使用 Overleaf 來創建我的碩士論文。這幾天學習乳膠真是瘋狂,因為它對初學者來說是無情的。

經過無數個小時的研究,我尚未解決的一個問題是如何正確實現雙語引用。

我需要希臘語和英語參考書目,並在文本中正確引用我的項目,沒有任何意外的亂碼。

到目前為止,我已經使用了biblatex, 利用keywords標籤和hyphenation/ language,它可以很好地打印單獨的參考書目。

然而,文本中的引文也出現在最終參考列表旁邊,對於英文文本來說完全混亂了(我的論文幾乎 100% 是希臘語,我必須在任何拉丁語段之前使用 \textlatin)。

這是我的 main.tex 檔案中的相關內容:

\documentclass[11pt]{report}
\usepackage[a4paper, left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage[unicode]{hyperref}
\usepackage[style=alphabetic,backend=biber,bibencoding=auto,autolang=other]{biblatex}
\addbibresource{biblio.bib}
\usepackage{csquotes}
\begin{document}
\nocite{*}

\autocite{RYA2001}

\printbibliography[keyword={en},title={Ξενόγλωσση Βιβλιογραφία}]

\end{document}

這是我的 biblio.bib 檔案中的相關內容:

@Book{RYA2001,
  author = {Ryan, Marie-Laure},
  publisher = {Johns Hopkins University Press},
  title = {Narrative as virtual reality : immersion and interactivity in literature and electronic media},
  year = {2001},
  keywords = {en},
  language = {english},
  hyphenation = {english}
}

這是文字內的列印輸出:

[Ρψα01]

文件參考書目末尾的列印輸出很好,但它對文字的引用是相同的。

結束參考列表

這是胡言亂語。我希望它顯示為(Ryan, 2001),但我什至不能在參考書目聲明中使用逗號。

如何正確設定多語言引用?

答案1

您正在使用biblatexwith style=alphabetic,因此您將獲得 [ABC00] 形式的引用。您需要使用style=authoryear來取得作者年份引用。

引文標籤是希臘語,因為您需要添加language=auto到您的biblatex選項中。預設情況下,它是language=autobib,因此僅在參考書目中更改語言。

nameyeardelim您可以透過重新定義using來在名稱和年份之間放置逗號\DeclareDelimFormat{nameyeardelim}{\addcomma\space}

微量元素

\documentclass[11pt]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{RYA2001,
  author = {Ryan, Marie-Laure},
  publisher = {Johns Hopkins University Press},
  title = {Narrative as virtual reality : immersion and interactivity in literature and electronic media},
  year = {2001},
  keywords = {en},
  language = {english},
  hyphenation = {english}
}
\end{filecontents}
\usepackage[a4paper, left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage[unicode]{hyperref}
\usepackage[style=authoryear,backend=biber,bibencoding=auto,language=auto,autolang=other]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{csquotes}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}
\begin{document}
\nocite{*}

\autocite{RYA2001}

\printbibliography[keyword={en},title={Ξενόγλωσση Βιβλιογραφία}]

\end{document}

微波能量輸出

相關內容