
Actualmente tengo un problema al utilizar la bibliografía en LaTeX
. Lo agrego usando un archivo .bib, pero no muestra ninguna referencia. También corro LaTeX
, corro bibtex
y luego corro látex dos veces más. Lo he citado en el texto principal, pero también usé \notice{*}
just para estar seguro. A continuación tengo un MWE que muestra el problema.
¡Gracias desde ya por la ayuda!
Este es el archivo principal que es el documento maestro:
\documentclass[10pt,a4paper]{report}
\usepackage [version=4] {mhchem}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\begin{document}
\noindent
\newpage
\tableofcontents
\newpage
\input{maintext.tex}
\nocite{*}
\bibliography{testbib}
\bibliographystyle{plain}
\addcontentsline{toc}{chapter}{References}
\end{document}
Este es el archivo .bib:
@book{Hesp, author = "J. P. Hespanha", title = "Linear Systems Theory", publisher = "Princeton", year = "2009", }
Y este es el archivo de texto que se usa como entrada.
\chapter{main}
this is the main text \cite{Hesp}