When I compile/typset test.bib file, this appears:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
**entering extended mode**
Then the program hangs. What to do? Thank you in advance
edit: right now the reference does appear in main document when compiled. However, when I change bibliography style in the line\bibliographystyle{unsrtnat}, the reference still appears in the same style as before. I tried IEEEtran, plain and unsrtnat. Shouldn't they give different style in the document? Mainly, I don't want the url to appear in main doc.
Main document Latex code:
\documentclass[11pt]{article}
\begin{document}
\section{A}
Yesyesyes \cite{muiva}
\bibliographystyle{unsrtnat}
\bibliography{test}
\end{document}
test.bib code:
@article{muiva,
title = {Effect of doping concentration on the properties of aluminium doped zinc oxide thin films prepared by spray pyrolysis for transparent electrode applications},
volume = {37},
issn = {0272-8842},
url = {http://www.sciencedirect.com/science/article/pii/S0272884210003986},
doi = {10.1016/j.ceramint.2010.09.042},
pages = {555--560},
number = {2},
journaltitle = {Ceramics International},
author = {Muiva, C. M. and Sathiaraj, T. S. and Maabong, K.},
urldate = {2014-10-18},
date = {2011-03},
keywords = {A: Thin films, D: {ZnO}, Spray pyrolysis},
}

bibfiles. – Sigur Oct 22 '14 at 23:02bibtexusing some menu or button on your editor. After that, compile thetexfile again. – Sigur Oct 22 '14 at 23:06\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Oct 22 '14 at 23:11bibtex. – Guido Oct 22 '14 at 23:27%The usual preambleis that there is no such thing. – cfr Oct 23 '14 at 00:10format.url. – Mico Oct 23 '14 at 09:25