After I reviewed similar StackExchange questions, I've decided to ask;
I want to write an article using the IEEE transaction LaTeX template. I use Mendeley as a reference manager and TeXstudio as editor. My OS is Windows.
First, I've created my bib files from Mendeley/Options/BibTeX by selecting Create one BibTeX file per group "in the same folder" as my tex file. You will see the original bib file names in the code below, but I did not know whether the problem originated there, so I tried to do it with two simple names such as bib1 and bib2.
I cite references in-text using the \cite command. For example, \cite{Tan2019}, \cite{Valente2019}. For the bibliography section, my code is,
\begin{thebibliography}
\bibliographystyle{IEEEtran}
\bibliography{Journals & Proceedings-Autonomous Driving,Journals & Proceedings-Visual Odometry}
\end{thebibliography}
As mentioned, I tried \bibliography{bib1, bib2}.
So I am getting the following error message: Something's wrong--perhaps a missing \item. \begin{thebibliography}{}
I couldn't see the proper in-text citation and a bibliography. How can I do that correctly? Or do you advise any method to write an IEEE article in Texstudio with Mendeley on Windows?
\bibliography{mybibfile}replaces thethebibliographyenvironment, drop\begin{thebibliography}and\end{thebibliography}. You will then need to runbibtexas well as(pdf)latexand it should just work with a correctly formed bib file. – Dai Bowen Apr 08 '23 at 15:19bibtexas well aslatex, some editors will do this for you. If your bibliography is appearing correctly after using just\bibliography{mybibfile}then you probably don't need to worry about it right now, if that changes or you're generally interested have a read of the linked question "Question mark or bold citation key instead of citation number". – Dai Bowen Apr 09 '23 at 19:52