[Tex/LaTex] Using bibentry to insert reference in text and omit the list of references at the end

bibliographiesbibtex

I am using bibentry package to insert references in the text of the document. This is a CV and the references are my own publications. I want to remove the bibliography listed at the end of the document. So far, I have had no success. Here is an example .tex file:

\documentclass{article}

\usepackage{natbib}
\usepackage{bibentry}

\begin{document}

\nobibliography*

Some text here. My publications:
\begin{itemize}
\item \bibentry{pub1} 
\item \bibentry{pub2}
\end{itemize}

Some other text.

\bibliographystyle{plain}
\bibliography{my_pubs}

\end{document}

Best Answer

You are misusing the package bibentry.

When you DON'T want the bibliography to be printed you have to use \nobibliography{my_pubs} instead of \nobibliography* \bibliography{my_pubs} in this way:

\documentclass{article}

\usepackage{natbib}
\usepackage{bibentry}

\begin{document}

\bibliographystyle{plain}
\nobibliography{my_pubs}

Some text here. My publications:
\begin{itemize}
\item \bibentry{pub1}
\item \bibentry{pub2}
\end{itemize}

Some other text.

\end{document} 
Related Question