我的书目中有一些错误,这是我编译“.bib”档案时显示的错误:
-line 8 of file articulo.aux
: \citation{*
: }
I'm skipping whatever remains of this command
The style file: abbrv.bst
Database file #1: biblio.bib
在我的文档中,参考书目中的编号非常重要。为此,我使用了参考书目样式缩写。在主代码中显示如下:
\documentclass[5p,times,authoryear]{elsarticle}
\usepackage[spanish]{babel}
\addto\captionsspanish{
\def\tablename{Tabla}
}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{flushend}
\usepackage{amssymb}
\usepackage[figuresright]{rotating}
\usepackage{subfigure}
\usepackage{xcolor}% paquete añadido para color en mathmode
\usepackage[makeroom]{cancel}%paquete añadido para cancelar terminos con slash(/)
\usepackage{enumitem} %Para cambier formato de items en itemize
% declarations for front matter
\usepackage{caption} % Para generar Caption con el nombre de "fig"
\usepackage{comment}
\begin{document}
\nocite{*}
\begin{frontmatter}
\end{frontmatter}
\cite{david}
\nocite{*}
\cite{coalmining}
\addcontentsline{toc}{chapter}{Bibliografia}
\bibliographystyle{abbrv}
\bibliography{biblio}
\end{document}
.bib文件的代码如下
@book{david,
Author = {Angulo García, David and Olivar Tost, Gerard},
Publisher = {Manizales, 2012.},
Title = {Esquemas de Desarrollo Sostenible : una Aplicación de Redes Complejas a la Región de Caldas = Sustainable development schemes: [recurso electrónico].},
URL = {http://ezproxy.unal.edu.co/login?url=http://search.ebscohost.com/login.aspx?direct=true&db=cat02704a&AN=unc.000723149&lang=es&site=eds-live},
Year = {2012},
}
@article{coalmining,
author = {Min and Zhou and Bang-jun and Wang and Feng, Ji},
issn = {1878-5220},
journal = {Procedia Earth and Planetary Science},
number = {special issue title: Proceedings of the International Conference on Mining
science and Technology (ICMST2009)},
pages = {1737 - 1743},
title = {The 6th International Conference on Mining Science and Technology: Coalmining
cities' economic growth mechanism and sustainable development analysis based on logistic
dynamics model.},
Volume = {1},
Year = {2009},
}
@book{pezzey37,
title={Economic analysis of sustainable growth and sustainable development.},
author={Pezzey, John and Rusong, W and Hinman, GW and Ruitenbeek, HJ and Kairiukstis, L
and Buracas, A and Straszak, A and Altieri, MA and Archibugi, F and Nijkamp, D and
others},
year={1990},
publisher={Banco Mundial, Washington, DC (EUA).},
}
@misc{ourfuture51,
title={Our common future. By World commission on environment and development.(London,
Oxford University Press, 1987, pp. 383},
author={Butlin, John},
year={1989},
publisher={Wiley Online Library},
}
我该如何修复这个问题?
答案1
这里有一个解决方案。
所做的更改:
- 稍微整理一下书目数据
- 加载
url
包 - 使用
bibliographystyle{elsarticle-harv}
- 删除重复项
\nocite{*}
梅威瑟:
\documentclass[5p,times,authoryear]{elsarticle}
\usepackage{url}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{david,
author = {Angulo García, David and Olivar Tost, Gerard},
publisher = {Manizales},
title = {Esquemas de Desarrollo Sostenible: una Aplicación de Redes Complejas a la Región de Caldas = Sustainable development schemes: [recurso electrónico]},
url = {http://ezproxy.unal.edu.co/login?url=http://search.ebscohost.com/login.aspx?direct=true&db=cat02704a&AN=unc.000723149&lang=es&site=eds-live},
year = {2012},
}
@article{coalmining,
author = {Min and Zhou and Bang-jun and Wang and Feng, Ji},
issn = {1878-5220},
journal = {Procedia Earth and Planetary Science},
number = {special issue title: Proceedings of the International Conference on Mining science and Technology [ICMST2009]},
pages = {1737-1743},
title = {The 6th International Conference on Mining Science and Technology: Coalmining cities' economic growth mechanism and sustainable development analysis based on logistic dynamics model},
Volume = {1},
Year = {2009},
}
@book{pezzey37,
title={Economic analysis of sustainable growth and sustainable development},
author={Pezzey, John and Rusong, W and Hinman, GW and Ruitenbeek, HJ and Kairiukstis, L and Buracas, A and Straszak, A and Altieri, MA and Archibugi, F and Nijkamp, D and others},
year={1990},
publisher={Banco Mundial},
address={Washington, DC},
}
@misc{ourfuture51,
title={Our common future. By World commission on environment and development},
author={Butlin, John},
year={1989},
publisher={Wiley Online Library},
}
\end{filecontents}
\pagestyle{empty}
\begin{document}
\nocite{*}
\cite{david}
\cite{coalmining}
\bibliographystyle{elsarticle-harv}
\bibliography{\jobname.bib}
\end{document}