\bibentry with \bibliographystyle{IEEEtran}

by Joao Alberto   Last Updated September 11, 2019 17:23 PM - source

I'm trying to use \bibentry{} with \bibliographystyle{IEEEtran} but without success until now. A MWE follows.

\documentclass[a4paper,11pt,twoside,openright]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[left=30mm,right=20mm,top=25mm,bottom=25mm]{geometry}
\usepackage[main=english,french,brazil]{babel}
\usepackage[bookmarks]{hyperref}
\usepackage[retainorgcmds]{IEEEtrantools}
\usepackage{bibentry} % place bibliographic entries anywhere in the text of a document
\nobibliography*

\usepackage{filecontents} % enables read data from an external file

\begin{filecontents}{thesis.bib}

@ieeetranbstctl{BSTcontrol,
        CTLdash_repeated_names = {no},
        CTLuse_alt_spacing = {no}}

@misc{google,
    title = {Google},
    url = {https://www.google.com/},
    note = {accessed on: 2019-09-11}
}

@inproceedings{ref2,
    title = {Title article},
    language = {en},
    booktitle = {Conference},
    publisher = {IEEE},
    author = {surname, forename},
    month = dec,
    year = {2018},
    pages = {1--4},
}
\end{filecontents}

\begin{document}

\bstctlcite{BSTcontrol} % activate the IEEEtran controls.

First reference: \cite{google}

Bibliography entry:

\begin{itemize}
    \item \bibentry{ref2}
\end{itemize}

\bibliographystyle{IEEEtran}
%\bibliographystyle{plain}
\bibliography{thesis}

\end{document}

In https://nw360.blogspot.com/2012/05/latex-bibentry-package-and-ieee.html, the author explains how the bibentry package can work with the IEEE bibliography style. However the explained procedure did not work for me.

Before this, I verified that MWE works with the \bibliographystyle{plain}. I also thought that there was some issue with the url fields, but I am not sure about this.

In the MWE, I get Undefined control sequence errors, but at my original work, I also get Paragraph ended before \[email protected]@bibitem was complete error.

If I comment the \nobibliography* line, the document compiles, but the \bibentry{} command outputs nothing. Actually, I tried several things, but this was the best I could obtain. Does anyone know what is the real problem and how to put this to work?



Related Questions


IEEEtranbib, bibentry, hypperef - Simple example?

Updated March 15, 2017 16:23 PM

Isolated biblography entries without a biblography

Updated February 12, 2018 11:23 AM


add a new field/attribute to many bibtex entries

Updated July 30, 2018 02:23 AM

Lonely item error in bibliography .bbl file

Updated June 23, 2016 08:09 AM