# \bibentry and \nobibliography* produces broken link and no bibliography [closed]

I am using the bibentry package to insert bibliography entries into my document. In my particular case, I will also need a regular bibliography entry. From what I've understood, to accomplish this, I need to use \nobibliography* in conjunction with \bibliography.

This code works fine:

    \documentclass{report}
\usepackage[numbers,sort&compress]{natbib}
\usepackage{bibentry}
\nobibliography*
\begin{document}
\chapter{Introduction}
text~\citet{haertel_return_2008}

more text

\bibentry{haertel_return_2008}

\bibliographystyle{plainnat}
\bibliography{al}
\end{document}


With the following sample .bib file:

    @inproceedings{haertel_return_2008,
Author = {Author, First},
Booktitle = {Booktitle},
Title = {Title},
Year = {2008}
}


However, when I switch the document class to the one I am required to use, it no longer works. The problem can also be seen using article or report classes in a slightly different context, namely, when using \nobibliography{al} (and no corresponding \bibliography command).

Here is a link to some full working example that can be compiled and viewed entirely online using sharelatex; I've made it editable in case it is helpful:

## closed as unclear what you're asking by Joseph Wright♦Aug 4 '14 at 12:08

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• The package bibentry is from 1999 and it seems it doesn't work well with newer version of natbib. However I think biblatex would be a good choice. – Marco Daniel Jul 12 '13 at 10:41
• @Marco Daniel. Thanks for the heads up. For various reasons, I probably can't switch to biblatex. If this is indeed a conflict between bibentry and natbib, I guess I'll have to do things manually. However, I have some hope of finding a solution since it does work in many cases. – rhaertel80 Jul 12 '13 at 18:42
• The class here is defective: even with no packages loaded and no text at all I get (\end occurred inside a group at level 1). That's a bad sign! However, I don't have any errors if I compile the demo with my local system, which is fully up to date. Which natbib do you have? – Joseph Wright Aug 24 '13 at 16:33
• With no feedback on my earlier comment, I'm afraid this looks 'unclear' (as it's not really reproducible). – Joseph Wright Aug 4 '14 at 12:08