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.

I am using the natbib package.

Now I want to have a bibliography entry cited in full length in the text. That should also appear in the bibliography are. For example

Text text...

Mr. ABCD (2012) HELLO WORL, This is a cite in Page...

text text...

.....bib area...
Mr. bbb sss ..
Mr. ABCD (2012) HELLO WORL, This is a cite in Page...

share|improve this question
    
Similar to tex.stackexchange.com/questions/44394/… which uses bibtex. –  SabreWolfy Feb 13 '13 at 8:08

1 Answer 1

up vote 16 down vote accepted

Use the \bibentry command from the bibentry package:

\begin{filecontents}{mytestbib.bib}
@book{goossens93,
    author = "Frank Mittelbach and Michel Goossens  and Johannes Braams and David Carlisle  and Chris Rowley",
    title = "The {LaTeX} Companion",
    year = "1993",
    publisher = "Addison-Wesley",
    address = "Reading, Massachusetts"
}
\end{filecontents}
\documentclass{article}
\usepackage{filecontents}
\usepackage{natbib}
\usepackage{bibentry}
\nobibliography*

\begin{document}

A full in-text cite of \bibentry{goossens93}.

A regular citation of \cite{goossens93}.

\bibliographystyle{plainnat}
\bibliography{mytestbib}

\end{document}

enter image description here

share|improve this answer
1  
Thank you very much for a nice reply. It worked fine when I tested using your example. However, it did not work for me (where I was using ...\documentclass{article}... my bad luck?) OK, thank you very much. –  Droid-Bird Mar 23 '12 at 10:35
    
@Droid-Bird: if you want to, you can add to your question a minimal version of a document illustrating the mentioned problem, so we can try to detect the it; you could also open a fresh follow-up question with a link to this one. –  Gonzalo Medina Mar 23 '12 at 13:52
    
Thanks much. Finally it worked for me too. I think I had \nobibliography* command missing at the top of the file. By the way what does this command do? Why is it necessary? Do you mind to take a sec to tell me? Thank you. –  Droid-Bird Mar 23 '12 at 15:17
    
@Droid-Bird: sure. Since a regular list of references is used (via the \bibliography{mytestbib} command in my example code), the \nobibliography* will load the same same .bbl file as \bibliography, but avoiding messages about multiple \bibdata commands and warnings from about multiply defined citations. –  Gonzalo Medina Mar 23 '12 at 15:33
    
@GonzaloMedina Any idea how to convince hyperref to point to the one at the end (from References) rather than the one in the text? –  Bogdan Vasilescu Jun 23 at 14:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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