I can't figure out why my bibliography renders weird quotation marks. Sometimes they do not close, sometimes they wrap around a part of the author's name. My document looks like this:
\documentclass[12pt]{amsart}
\usepackage[spanish]{babel}
\usepackage{csquotes}
\title{Trabajo en base de datos 2: Reseña\\
\large Introducción a la modelación matemática de la naturaleza
}
\author{Fundación Universitaria Konrad Lorenz\\Curso: Cálculo Diferencial\\Estudiante: Jonatan Ahumada\\ Cód.506181029}
\begin{document}
\maketitle
\cite{chejne2016aproximacion}
\cite{knuth2005art}
\bibliographystyle{apacite}
\bibliography{referencias}
\end{document}
And my .bib file looks like this:
@article{chejne2016aproximacion,
title={Una aproximaci{\'o}n a la construcci{\'o}n de modelos matem{\'a}ticos para la descripci{\'o}n de la naturaleza},
author={Chejne, Farid},
journal={Revista de la Academia Colombiana de Ciencias Exactas, F{\'\i}sicas y Naturales},
volume={40},
number={155},
pages={353--365},
year={2016}
}
@misc{knuth2005art,
title={The Art of Computer Programming, Volume 4, Fascicle 2: Generating All Tuples and Permutations},
author={Knuth, Donald E},
year={2005},
publisher={Addison-Wesley Professional Boston, MA}
}
Furthermore, I made my .bib file pasting the code from GoogleScholar, so I know the .bib is fine. It just seems as if \apacite doesn't know where to open quotations or where to close.
I'm very new to LaTex, any help would be much appreciated.


.bibentry that you are using. The document should begin with\documentclass{...}and end with\end{document}and load only theapacitepackage and any font or input encoding packages you are loading, nothing else. – Alan Munn Nov 15 '18 at 04:07babelandcsquotes. But I'm surprised you get any output at all; the code as posted produces errors because theapacitepackage isn't loaded. – Alan Munn Nov 15 '18 at 04:46