我使用\usepackage{natbib}
\bibliographystyle{apalike} 在我的书中制作参考书目。来源条目构建在 .bib 文件中,其中条目的创建方式如下:
@incollection{MABh,
Booktitle = {The Tibetan Tripitaka - Peking edition},
Date-Added = {2016-10-01 20:30:51 +0000},
Date-Modified = {2017-11-15 13:34:00 +0000},
Editor = {Suzuki, Daisetz T.},
Key = {MABh},
Pages = {for Peking 264b8-408b7 (p.108-166) And for Derge 220b1-348a7},
Publisher = {Tokyo : Suzuki Research Foundation, 1962},
Title = {Candrak{\=\i}rti's $D$bu Ma La 'Jug Pa'i Bshad Ba Shes Bya Ba (Tibetan translation of Madhyamak{\=a}vat{\=a}rabh{\=a}{\d s}ya)},
url = "https://www.tbrc.org/#library_work_ViewByOutline-O1GS60111GS36115%7CW23703",
Volume = {for Peking (Q 5263) dbu ma, 'a (vol.98) and for Derge (D 3862) dbu ma, 'a},
Year = {1962}}
但是当我使用以下命令打印参考书目时:
\bibliography{/Users/prinelo/Desktop/Database/mylib,/Users/prinelo/Desktop/Database/mylibtib}
url 没有显示出来。我尝试了另一种方法来记录 url 信息:
howpublished = {\url{https://www.tbrc.org/#library_work_ViewByOutline-O1GS60111GS36115%7CW23703}},
它也不起作用。
答案1
自 20 世纪 90 年代初以来,参考书目样式apalike
就一直存在,几乎没有变化,当时 URL 还鲜为人知,几乎没有人考虑过文档可能在线提供并可通过 Web 浏览器访问的可能性。(想想看,第一个广泛使用的图形 Web 浏览器(称为“netscape”?)在 1994 年或 1995 年之前没有发布...)
因此,可能并不令人意外的是,apalike
参考书目对 字段一无所知,因此会轻率地忽略 字段url
。如果您无法切换到不同的(即更现代的)参考书目样式,该样式知道如何处理 字段url
,则应使用note
字段提供与 URL 相关的信息 —— 并确保已加载url
和/或包。hyperref
类似这样的操作(注意该字段的缺失url
和该字段的添加note
)可能对您有用:
@incollection{MABh,
booktitle = "The Tibetan Tripitaka---Peking edition",
date-added = "2016-10-01 20:30:51 +0000",
date-modified= "2017-11-15 13:34:00 +0000",
editor = "Suzuki, Daisetz T.",
key = "MABh",
pages = "for Peking 264b8--408b7 (pp.\ 108--166) and for Derge
220b1--348a7",
publisher = "Tokyo: Suzuki Research Foundation",
title = "{Candrak{\=\i}rti's $D$bu Ma La 'Jug Pa'i Bshad Ba
Shes Bya Ba (Tibetan translation of
Madhyamak{\=a}vat{\=a}rabh{\=a}{\d s}ya)}",
note = "\url{https://www.tbrc.org/#library_work_ViewByOutline-O1GS60111GS36115%7CW23703}",
volume = "for Peking (Q~5263) dbu ma, 'a (vol.~98) and for
Derge (D~3862) dbu ma, 'a",
year = 1962,
}
完整的 MWE:
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@incollection{MABh,
booktitle = "The Tibetan Tripitaka---Peking edition",
date-added = "2016-10-01 20:30:51 +0000",
date-modified= "2017-11-15 13:34:00 +0000",
editor = "Suzuki, Daisetz T.",
key = "MABh",
pages = "for Peking 264b8--408b7 (pp.\ 108--166) and for Derge
220b1--348a7",
publisher = "Tokyo: Suzuki Research Foundation",
title = "{Candrak{\=\i}rti's $D$bu Ma La 'Jug Pa'i Bshad Ba
Shes Bya Ba (Tibetan translation of
Madhyamak{\=a}vat{\=a}rabh{\=a}{\d s}ya)}",
note = "\url{https://www.tbrc.org/#library_work_ViewByOutline-O1GS60111GS36115%7CW23703}",
volume = "for Peking (Q~5263) dbu ma, 'a (vol.~98) and for
Derge (D~3862) dbu ma, 'a",
year = 1962,
}
\end{filecontents}
\documentclass{article}
\usepackage{natbib}
\usepackage[hyphens,spaces,obeyspaces]{url}
\bibliographystyle{apalike}
\begin{document}
\citet{MABh}
\bibliography{mybib}
\end{document}