
這是早期 BattlesHISTORY 問題的最小程式碼:它對每個引用都執行此操作,除非我有\parencite
內聯命令。我希望這有幫助。我花了很多時間。謝謝。
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[style=mla]{biblatex}
\addbibresource{references.bib}
\title{ABC}
\author{XYZ}
\date{15 08 2020}
\begin{document}
American Revolutionary.\cite{BattlesHISTORY}
\begin{filecontents*}{\jobname.bib}
@misc{BattlesHISTORY,
title = {{Battles of Lexington and Concord - HISTORY}},
url = {https://www.history.com/topics/american-revolution/battles-of-lexington-and-concord}
}
\end{filecontents*}
\printbibliography
\end{document}
答案1
據我在biblatex-mla
手冊中看到,該樣式不支援@misc
.
另外, 的參數應該包含您想要讀取的\addbibresource
實際文件,在本例中為.對於您的生產版本,它可能是或您擁有的任何名稱。.bib
\jobname.bib
references.bib
\begin{filecontents*}{\jobname.bib}
@online{BattlesHISTORY,
title = {Battles of {Lexington} and {Concord} -- {HISTORY}},
url = {https://www.history.com/topics/american-revolution/battles-of-lexington-and-concord}
}
\end{filecontents*}
\documentclass{article}
\usepackage[style=mla]{biblatex}
\addbibresource{\jobname.bib}
\title{ABC}
\author{XYZ}
\date{15 08 2020}
\begin{document}
\maketitle
American Revolutionary~\autocite{BattlesHISTORY}.
\printbibliography
\end{document}
我過去article
只是獲取圖像的單頁。
如果添加\usepackage{hyperref}
,則「Web」將成為指向所請求網站的超連結。