# Alternative to bibentry (not biblatex)

Basically I have the same issue as in here:

Suppress printing of only \bibentry references with natbib?

I want to be able to use the characteristics of bibentry (i.e., I want to print the full citation inside my document and at the same time I want to have a bibliography with all the elements of my .bib file (it's easier to just see the question I pointed above).

The thing is that the answer provided is using biblatex. I don't need much convincing to switch to it, but for several reasons (mainly "political") I have to use natbib.

Any suggestions?

# Edit

I've recently tried the answer provided by Karl, but it doesn't seem to work while building the whole project in TeXnicCenter (MikTeX 2.9). Here is my code (it's the same as Karl's, but the References file is sepparate and has exactly the same content as Karl's example):

\documentclass{article}
\usepackage{natbib}
\usepackage{bibentry}
\nobibliography*

\begin{document}

\section{Test}

This is a citation \citep{art1}

\section{Test}

This is a bibentry

\begin{enumerate}
\item \bibentry{book1}
\end{enumerate}

\nocite{*}
\bibliographystyle{apalike}
\bibliography{References}
\end{document}

• It works fine for me (WinEdt 8.1 and MiKTeX 2.9)... Maybe is it a TeXnicCenter fault? – karlkoeller Nov 1 '13 at 20:02
• @karlkoeller yeap, I'm beginning to think it has something to do with the way it handles "projects". I would like to know if someone has the same issue or if it's just me – Mario S. E. Nov 1 '13 at 20:57
• Did you discover what your problem was? – karlkoeller Nov 3 '13 at 20:13

I'm not sure to understand correctly your needs, but try the example below:

\documentclass{article}

\begin{filecontents}{examplebib.bib}
@article{art1,
author="First Last",
title="A fictitious journal article",
year=1900,
journal="Journal of nothingness",
volume=2,
pages="1-2"
}

@book{boo1,
author="Respectable Writer",
title="A silly book",
year=2000,
publisher="PublishCo",
}
\end{filecontents}

\usepackage{natbib}
\usepackage{bibentry}
\nobibliography*

\begin{document}

\section{Test}

This is a citation \citep{art1}

\section{Test}

This is a bibentry

\begin{enumerate}
\item \bibentry{art1}
\end{enumerate}

\nocite{*}
\bibliographystyle{apalike}
\bibliography{examplebib}
\end{document}


Output:

• If you read the linked question, I think Mario wants any entry used as a \bibentry to not appear in the list of references. – Alan Munn Oct 27 '13 at 16:11
• @AlanMunn no no, this is exactly what I wanted, but it doesn't seem to work when I implement it the way I'm using it (I want it to be inside a .sty) – Mario S. E. Oct 27 '13 at 16:12
• I was wondering if there isn't any other workaround, like trying to implement the \bibentry command... – Mario S. E. Oct 27 '13 at 16:16
• @MarioS.E. Take a look at bibentry.sty and see if you can somehow extract its definition. – karlkoeller Oct 27 '13 at 16:30
• @MarioS.E. So then I truly don't understand your question. You'll need to explain how Karl's solution doesn't work for you. (And the linked question is a bit of a red herring anyway, since the requirements there are different.) – Alan Munn Oct 27 '13 at 16:32