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 want to compile my document with in the end a list of all my cited sources: 'references', but also a list of 'recommended readings', so a re-print of the same bibliography that outputs ALL sources and not solely the ones I've cited.

Is this possible? I am using xetex, bibtex icm natbib

Minimum working example:

\documentclass[letterpaper, 10pt]{article}

\usepackage[authoryear]{natbib}
\usepackage{lipsum}

\begin{document}

\lipsum[1-4]
\nocite{*}

\bibliographystyle{plain}
\bibliography{articles}

\end{document} 
share|improve this question

1 Answer 1

up vote 5 down vote accepted

Here's a solution that combines natbib and multibib.

Note: Unless you use a tool like latexmk, you have to compile the following MWE using

latex <mydoc>
bibtex <mydoc>
bibtex rec
latex <mydoc>
latex <mydoc>

as specified in section 2 of the multibib documentation.

\documentclass{article}

\usepackage[authoryear]{natbib}

\usepackage{multibib}

\newcites{rec}{Recommended readings}

\usepackage{filecontents}

\begin{filecontents}{mybib.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
\end{filecontents}

\begin{document}

Some text \citep{A01}.

\nociterec{*}

\bibliographystyle{plainnat}
\bibliography{mybib}

\bibliographystylerec{plainnat}
\bibliographyrec{mybib}

\end{document}

enter image description here

share|improve this answer
    
Excuses, marked this early as an answer. Problem is that It doesn't generate the 'recommended reading part'. Is this due to this error? No file rec.bbl –  grrrbytes May 5 '12 at 13:00
    
@Mixhael I updated my answer. –  lockstep May 5 '12 at 13:04
    
Tnx. It does work. However, now I run into this problem again: tex.stackexchange.com/questions/54480/… and the solution proposed on that question does not work anymore. Somehow there is a conflict between those too? –  grrrbytes May 5 '12 at 13:18
    
@Mixhael When deleting the auxiliary files, look out for files called rec.<whatever> and delete those also. –  lockstep May 5 '12 at 13:21
1  
@Mixhael If my example works for you, probably not. Try with parts of your .bib file -- there may be a single entry that causes the problem. –  lockstep May 5 '12 at 13:47

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.