Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

In an earlier question - bibentry in documents body - I was looking for a possibility to have \bibitems appear in in my documents body. This was solved using the bibentry package.

As a follow-up I would now like to have the \bibitem appear in the body only, and not in the regular reference list in the end at all.

Is it possible to define something like a \bibentry* that prevents the entry from being shown? Or any other way to get what I want? I cannot get around using natbib...

share|improve this question

marked as duplicate by Kurt, dustin, Werner, Heiko Oberdiek, Jubobs Aug 14 '13 at 22:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

I'm not sure if I fully understand your question. The bibentry package provides the command \bibentry{<key>} to generate full citations in the running text. The "source" of the keys (i.e., the name(s) of the bib file(s) that contain the raw entries) is shoud be indicated via the instruction \nobibliography{<bibfile(s)>}. Note that the \nobibliography command serves only to indicate the names of the bib files -- it doesn't do the "double duty" of also generating a bibliography at the place in the tex file where it's encountered.

If you do want to generate a "regular" list of references (likely towards the end of the document) as well as in-text references, you should use a \bibliography command, as usual, where the references should be listed. In this case, you should use the \nobibliography*{<bibfiles>} command instead of \nobibliography{<bibfiles>}, as is explained in the user guide of the bibentry package. Use of the "starred" command will help suppress spurious warning and error messages from BibTeX and LaTeX.

share|improve this answer
1  
In fact you have to use just \nobibliography*, not \nobibliography*{<bibfiles>}. Anyway, I think this does not solve the problem issued here. The question is how to have some entries in the body of the text, which do not appear also in the bibliography at the end. \nobibliography does not solve it, because he has other entries that must appear at the end. \nobibliography* do not solve it, because all the cited entries will appear. I have no answer neither... but I am looking for it. –  Alejandro Díaz-Caro Apr 1 '13 at 8:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.