我正在尝试按照 ShareLaTeX 网站的示例打印参考书目。我有一个bibliography.bib
包含以下内容的文件:
@Article{sasai,
author = "Yoshiki Sasai",
title = "{Cytosystems dynamics in self-organization of tissue architecture}",
journal = "Nature",
volume = "493",
number = "7432",
pages = "318--326",
year = "2013/01/17",
publisher = "Nature Publishing Group",
ISBN = "0028-0836",
URL = "http://dx.doi.org/10.1038/nature11859",
type = "10.1038/nature11859",
}
我有一个主文件:
\documentclass[10pt,letterpaper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[left=2.00cm, right=2.00cm, top=2.00cm, bottom=2.00cm]{geometry}
\begin{document}
\nocite{*}
\bibliography{bibliography}
\end{document}
就我目前收集到的信息而言,这应该会产生一个参考书目条目。这里出了什么问题?
答案1
请参阅以下 MWE:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Article{sasai,
author = "Yoshiki Sasai",
title = "{Cytosystems dynamics in self-organization of tissue architecture}",
journal = "Nature",
volume = "493",
number = "7432",
pages = "318--326",
year = "2013/01/17",
publisher = "Nature Publishing Group",
ISBN = "0028-0836",
URL = "http://dx.doi.org/10.1038/nature11859",
type = "10.1038/nature11859",
}
\end{filecontents*}
\documentclass[10pt,letterpaper]{article}
\usepackage[latin1]{inputenc}
%\usepackage{amsmath}
%\usepackage{amsfonts}
%\usepackage{amssymb}
\usepackage[left=2.00cm, right=2.00cm, top=2.00cm, bottom=2.00cm]{geometry}
\begin{document}
\nocite{*}
\bibliographystyle{plain} % <===========================================
\bibliography{\jobname}
\end{document}
您的代码中缺少参考书目样式的定义。我添加了它(参见带有标记的行% <==============
结果: