natbib:参考书目中的工作论文和 DOI

natbib:参考书目中的工作论文和 DOI

我在参考书目中遇到了两个问题。首先,当我引用一些工作论文时,没有显示工作论文的完整信息,只显示以下信息。

Schwarcz, SL (2008).系统性风险。

但是,bib 文件中提供了有关出版商、工作论文系列和 URL 的信息。其次,参考文献的 DOI 和 URL 未显示在参考书目中。下面给出了一个最小的工作示例:

   \documentclass[12pt,twoside,openany]{book}
   \usepackage{authblk}
   \usepackage{titlesec}
   \usepackage[T1]{fontenc}
   \usepackage{times}
   \usepackage[latin9]{inputenc}
   \usepackage[english]{babel}
   \usepackage[round,nonamebreak]{natbib}

   \begin{document}
    \author{Ahmed Arif}
    \title{A Book}

   \chapter{Introduction}
   This is introduction chapter \citep{Schwarcz2008}. The literature is        cited here \citet{Cebenoyan2004}.

   \bibliographystyle{apa}
   \bibliography{library}
   \end{document}

bib 文件中可用的条目如下。bib 文件来自 mendley。

    @article{Cebenoyan2004,
    author = {Cebenoyan, A.Sinan and Strahan, Philip E},
    doi = {10.1016/S0378-4266(02)00391-6},
    file = {:C$\backslash$:/Users/Ahmed Arif/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Cebenoyan, Strahan - 2004 - Risk management, capital structure and lending at banks.pdf:pdf},
    issn = {03784266},
    journal = {Journal of Banking {\&} Finance},
    keywords = {7 december 2001,at the x international,bank risk management,banking and finance held,in rome on 5,loan sales,this paper was presented,tor vergata conference on},
    month = {jan},
    number = {1},
    pages = {19--43},
    title = {{Risk management, capital structure and lending at banks}},
    url = {http://linkinghub.elsevier.com/retrieve/pii/S0378426602003916},
    volume = {28},
    year = {2004}
    }
    @unpublished{Schwarcz2008,
    address = {Durham},
    author = {Schwarcz, Steven L.},
    file = {:C$\backslash$:/Users/Ahmed Arif/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Schwarcz - 2008 - Systemic Risk.pdf:pdf},
    institution = {Duke Law School},
    pages = {193--249},
    series = {Research Paper Series},
    title = {{Systemic Risk}},
    url = {http://papers.ssrn.com/sol3/papers.cfm?abstract{\_}id=1008326},
    year = {2008}
    }

答案1

参考书目样式文件apa.bst最后一次修改是在 1992 年——25 [!] 年前。因此,它没有被编程来对名为url和的字段执行任何操作doi。由于您似乎有兴趣根据 APA 指南(大概是当前的指南,而不是 1992 年的指南)格式化参考书目,我建议您使用apacite参考书目样式并加载apacite引文管理包。加载包时,选择natbibapa启用类似 natbib 的引文命令,例如\citet\citep

你还应该加载url包,你不应该,在任何情况下,除非您想让读者无法使用 URL,否则请“转义” URL 字符串中的下划线字符。哦,不要加载包times——它完全被弃用了。如果您需要使用 Times Roman 作为主文本字体来排版文档,我建议您加载包newtxtextnewtxmath

关于 bib 条目还有一条评论,我认为这些条目是由 Mendeley 制作的:请检查其中是否有错误。例如,month = {jan},是一个明显的错误;它应该是month = jan,

在此处输入图片描述

在此处输入图片描述

\RequirePackage{filecontents}
\begin{filecontents}{library.bib}
@article{Cebenoyan2004,
    author = {Cebenoyan, A. Sinan and Strahan, Philip E.},
    doi = {10.1016/S0378-4266(02)00391-6},
    file = {:C$\backslash$:/Users/Ahmed Arif/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Cebenoyan, Strahan - 2004 - Risk management, capital structure and lending at banks.pdf:pdf},
    issn = {03784266},
    journal = {Journal of Banking \& Finance},
    keywords = {7 december 2001,at the x international,bank risk management,banking and finance held,in rome on 5,loan sales,this paper was presented,tor vergata conference on},
    month = jan,
    number = {1},
    pages = {19--43},
    title = {Risk management, capital structure and lending at banks},
    url = {http://linkinghub.elsevier.com/retrieve/pii/S0378426602003916},
    volume = {28},
    year = {2004}
    }
@unpublished{Schwarcz2008,
    address = {Durham},
    author = {Schwarcz, Steven L.},
    file = {:C$\backslash$:/Users/Ahmed Arif/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Schwarcz - 2008 - Systemic Risk.pdf:pdf},
    institution = {Duke Law School},
    pages = {193--249},
    series = {Research Paper Series},
    title = {Systemic Risk},
    url = {http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1008326},
    year = {2008}
    }
\end{filecontents}

\documentclass[12pt,twoside,openany]{book}
\usepackage{authblk}
\usepackage{titlesec}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{newtxtext,newtxmath} % 'times' is deprecated
\usepackage[english]{babel}

\usepackage{url}
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}

\begin{document}
\dots\ \citep{Schwarcz2008} \dots\ \citet{Cebenoyan2004} \dots
\bibliography{library}
\end{document}

相关内容