
我正在使用 biblatex-chicago 來格式化我的參考書目,我的教授希望我們引用他的講座並註明錄製的確切日期,如下所示:
Last, First. 2020. 8. 5. ``Course Name: Course Description.'' University of State, City.
內聯引用應該如下所示:
"...quote quote quote" (Last 2020.8.5).
我將如何在我的 .bib 檔案中格式化它?我如何確保它在我的論文中像這樣顯示?
答案1
有可能極為修改biblatex-chicago
以產生不符合 CMS 要求的輸出是很痛苦的。該風格做了一個很多能夠滿足 CMS 要求的工作量並使用一些非常複雜的程式碼來使一切正確。
一般來說,我建議不要嘗試修改高度客製化的樣式,例如biblatex-chicago
,biblatex-apa
超出它們提供的介面。
這是一個特別指定在我的測試中工作正常的解決方案。為了避免搞亂我們不想搞亂的事情,我新增了一個新的條目選項,fulldate
如果您想要引文和參考書目中的完整日期,則需要明確設定該選項。
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[authordate, backend=biber]{biblatex-chicago}
\newtoggle{cbxcms@fulldate}
\makeatletter
\DefineBibliographyExtras{american}{%
\protected\def\mkdaterangecompextra{%
\iftoggle{cbxcms@fulldate}
{\def\bibdatesep{.}%
\mkdaterangeymdextra}
{\cms@mkyearrangeextra[]{long}}}}
\renewbibmacro*{date}{% Adding the test solved some issues in 0.9 with
\iftoggle{cms@switchdates}%
{\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}%
\AND\iffieldundef{origday}\AND\iffieldundef{origseason}}%
{}%
{\printorigdate}}%
{\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}%
\AND\iffieldundef{day}\AND\iffieldundef{season}}% Punctuation in some
{}% entry types (Misc). The whole \printdate thing may need further work.
{\iftoggle{cbxcms@fulldate}
{}
{\printdate}}}}
\makeatother
\DeclareEntryOption[boolean]{fulldate}[true]{\settoggle{cbxcms@fulldate}{#1}}
\begin{filecontents}{\jobname.bib}
@performance{elk,
author = {Anne Elk},
title = {A Theory on Brontosauruses},
date = {1980-04-05},
institution = {Univ. of Place},
location = {Place},
options = {fulldate},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{elk}
\printbibliography
\end{document}