I seem to be getting nowhere with my bibliography in LaTeX. Below is what I am using within my document. My reference page is blank for some reason.
Here is the main document structure:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{natbib}
\usepackage{graphicx}
\usepackage{amsmath,amssymb}
\usepackage{fancyvrb}
\usepackage{cite}
\begin{document}
As shown in \cite[sec]
\bibliography{myref}
\bibliographystyle{ieeetr}
\end{document}
I also have a file name myref.bib. Below is an example of a reference I am trying to use, which is declared in the myref.bib file.
@ONLINE
{sec,
AUTHOR = "Author.N",
TITLE = "{Title goes here}",
URL = {http://www.here.com},
URLYEAR = 2012,
PRESORT="aa"
}
Does anyone have any ideas?
natbibandcitepackages; I suggest you only load thenatbibpackage. Second, I don't think that the bibliography style fileieeetr.bstis one of the standard bibliography style files; did you maybe mean to specifyieeetran(.bst)? Third, one must encase the argument of a\citecommand in curly braces, not square brackets. Fourth, be sure to also load theurlpackage. Last but not least, be sure to run latex, bibtex, and latex twice more on your file. If these things don't work, check the.logand.blgfiles for errors and warning messages. – Mico Dec 13 '12 at 22:14yourfile.auxand re-latex? If you did this must have a.blgand.bblfiles in the directory – Luis Parrado Dec 15 '12 at 23:35