TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm doing a dissertation which has the requirements of printing a References section, of those resources which have been cited, and then a bibliography which includes all resources, cited or not.

I've tried this:

\bibliography{refs} <- and what does this do?



But the \nocite{*} has an effect on both, regardless of where it is. Which defeats the point. I've been through numerous answers which include creating a boolean of "cited" and then trying to print those but nothing seems to work!!

I just want:

"References" Yada yada... I've been cited!

"Bibliography" Yada yada... I may not have been cited!

Taking the answer received this is what I have now, which is not working. All references are being printed in each section:



\chapter{Literature Review}


\chapter{Implementation and Testing}






Don't know if it matters but I'm not using article, because I want chapters.

share|improve this question
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – hugovdberg Mar 30 '14 at 19:44
In what situation would these sections be different? I mean: why adding a reference if not for citing it somewhere, thus indicating its usage? – remus Mar 30 '14 at 19:50
Check out this answer: tex.stackexchange.com/questions/44589/… You could adapt it to your case. – remus Mar 30 '14 at 19:55
This is because we're strictly using the Harvard Referencing style. Not everything I've read that's useful has been included in this style. Plus I've read multiple resources for maybe one point, I don't fancy having a list of references for one point when I have a word limit. – liloka Mar 30 '14 at 20:54
Use my answer to tex.stackexchange.com/questions/6967/…, but omit notcategory=cited in the second \printbibliography. – lockstep Apr 1 '14 at 5:00

You can use something like







The first \printbibliography will only print the items inside that refsection, that is those that are cited.

share|improve this answer
This makes sense to me, and I've tried it. However it doesn't seem to work with subfiles. It's not printing the first references section at all. – liloka Mar 30 '14 at 20:56
What subfiles are those? Do you use \input or \include to include other files? Or are you using the package subfile? – pst Mar 30 '14 at 21:02
I use the subfile package. – liloka Mar 31 '14 at 10:35
I meant the package subfiles. (I accidentally dropped an s.) I guess you do the same. I see no reason why that would matter, but I tested with subfiles and it worked fine. Make sure the refsection environment goes around everything it should. If it still doesn't work I think an MWE is needed again. – pst Mar 31 '14 at 10:53

Your Answer


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.