I have some error in my bibliography, this is the error that shows when I compile the ".bib" archive:
-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
In my document is very important the numbering in bibliography. For this I used the bibliogrphy style abbrv. How is shown in the principal code:
\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}
The code of the .bib file is the next one
@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},
}
How could I fix this?

\citationcommands". And indeed, your example has no citations in it. Do you still get the error if you if you add\nocite{*}(or\cite{david}) in your main document? – David Purton Nov 11 '17 at 05:21subfigurepackage is deprecated. Since you're also loading thecaptionpackage, you should be loadingsubcaptioninstead ofsubfigure. – Mico Nov 11 '17 at 11:27\nocite{*}multiple times. Remove one and that error goes away. But you will still get anatbiberror. – David Purton Nov 16 '17 at 01:31authoryearoption ofelsarticleis not compatible with theabbrvbibliography style. If you want author year citations, trybibliographystyle{elsarticle-harv}. Secondly, you need to put your URL inside\url{}and addusepackage{url}otherwise LaTeX will complain about the & characters (among other things) in your URL. – David Purton Nov 16 '17 at 01:40