# Using bibentry to insert reference in text and omit the list of references at the end

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}

• – Marco Daniel Nov 8 '13 at 14:25
• @Closers Why would this question be a duplicate of the linked one? – karlkoeller Nov 8 '13 at 17:11
• I agree with @karlkoeller; the linked question wants a bibliography at the end whereas this one wants to remove it. – Sean Allred Nov 8 '13 at 17:32
• @karlkoeller, I added a comment to your solution. Thanks. – passerby51 Nov 11 '13 at 14:10

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}

• Thanks. I tried your solution, but I get empty lines for \bibentry references. However, if I use \nobibliography{my_pubs} instead of \bibliography{my_pubs} , in my original .tex file, it works. That is, I need \nobibliography* before using \bibentry{pubs1}, etc. and \nobibliography{my_pubs} at the end of the document. – passerby51 Nov 11 '13 at 14:06
• @passerby51 This shouldn't happen. The one described in the answer should be the right way to go (according to the bibentry manual) and works for me. – karlkoeller Nov 11 '13 at 16:05
• Same behaviour observed on a personal example: empty lines for \bibentry, except if I add \nobibliography{my_pubs}. – anderstood May 28 '15 at 21:51
• One thing I realized after some trial and error is that the \nobibliogrpahy command must be placed before the \bibentry commands. If not, nothing will "fail" during compilation, but no text will appear in place of \bibentry. Might explain some of the odd behavior mentioned in some of the other comments. – GJStein Oct 31 at 0:42

I wanted both the list of references and the \bibentry tag to work. @karlkoeller's answer didn't work for me, but this did:

\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.
\bibliography*{my_pubs}
\end{document}