我正在写论文,现在想在 LaTex 中插入参考书目。我在 EndNote 上做了所有事情,但现在我很难将其移入文档中。
我按照背面网站,但我的文档上没有任何内容,并且也没有给出错误。
参考书目是:bibliography_doc_name.bib
。我没有包含扩展,如上面的链接所述。
代码如下:
\documentclass[11p]{article}
\usepackage{natbib}
\begin{document}
...
\section{List of references}
\bibliographystyle{plainnat}
\bibliography{bibliography_doc_name}
\end{document}
您可以在此处找到 bibliography_doc_name.bib 文件中的两个参考文献:
@article{RN41,
author = {Ang, James S.},
title = {Small Business Uniqueness and the Theory of Financial Management},
journal = {The Journal of Entrepreneurial Finance},
volume = {1},
number = {1},
pages = {11-13},
year = {1991},
type = {Journal Article}
}
@article{RN33,
author = {Cassar, Gavin},
title = {The financing of business start-ups},
journal = {Journal of Business Venturing},
volume = {19},
pages = {261-283},
DOI = {10.1016/S0883-9026(03)00029-6},
year = {2004},
type = {Journal Article}
}
有人能帮助我吗?
PS 如果这可能是一个问题的话我正在使用 Overleaf 版本。
由于某种原因,如果我使用\cite{}
或\citep{}
,\nocite{*}
就会出现此错误:
答案1
您可以使用\nocite{*}
打印文件的内容.bib
,即使您没有使用任何引用命令(如\citep
或 )\citet
:
\documentclass{article}
\usepackage{natbib}
\begin{document}
...
\nocite{*}
\bibliographystyle{plainnat}
\bibliography{bibliography_doc_name}
\end{document}
书目文档名称.bib:
@article{RN41,
author = {Ang, James S.},
title = {Small Business Uniqueness and the Theory of Financial Management},
journal = {The Journal of Entrepreneurial Finance},
volume = {1},
number = {1},
pages = {11-13},
year = {1991},
type = {Journal Article}
}
@article{RN33,
author = {Cassar, Gavin},
title = {The financing of business start-ups},
journal = {Journal of Business Venturing},
volume = {19},
pages = {261-283},
DOI = {10.1016/S0883-9026(03)00029-6},
year = {2004},
type = {Journal Article}
}
\citep
如果您可以使用适当的引用命令(如和),那就更好了\citet
:
\documentclass{article}
\usepackage{natbib}
\begin{document}
This is the first paper: \citep{RN41}; and this is the second: \cite{RN33}.
\bibliographystyle{plainnat}
\bibliography{bibliography_doc_name}
\end{document}