7

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:

\usepackage[backend=bibtex,citestyle=authortitle,url=true]{biblatex}
\usepackage{filecontents}
\bibliography{refs} <- and what does this do?
\addbibresource{project_references.bib}
\renewcommand{\bibname}{References}

\begin{document}
    \printbibliography

    \nocite{*}
    \printbibliography
\end{document}

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:

\documentclass[12pt]{report} 
\usepackage[backend=bibtex,citestyle=authortitle,url=true]{biblatex}
\usepackage{filecontents}
\addbibresource{project_references.bib} 

\begin{refsection}
\chapter{Introduction}
\subfile{Introduction.tex}

\chapter{Literature Review}
\subfile{LiteratureReview.tex}

\chapter{Design}
\subfile{Design.tex}

\chapter{Implementation and Testing}
\subfile{Implementation.tex}

\chapter{Evaluation}
\subfile{Evaluation.tex}

\chapter{Conclusion}
\subfile{Conclusion.tex}

\printbibliography[title=Cited]
\end{refsection}

\printbibliography[title=References]

\nocite{*}
\printbibliography[title=Bibliography]
\end{document}

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

6
  • 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
    Commented Mar 30, 2014 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
    Commented Mar 30, 2014 at 19:50
  • Check out this answer: tex.stackexchange.com/questions/44589/… You could adapt it to your case.
    – remus
    Commented Mar 30, 2014 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
    Commented Mar 30, 2014 at 20:54
  • Use my answer to tex.stackexchange.com/questions/6967/…, but omit notcategory=cited in the second \printbibliography.
    – lockstep
    Commented Apr 1, 2014 at 5:00

1 Answer 1

4

You can use something like

\documentclass{article}
\usepackage[style=authoryear]{biblatex}
\addbibresource{onlysome.bib}

\begin{document}
\begin{refsection}
  \section{Foo}
  \cite{one}

  \section{Bar}
  \cite{two}

  \printbibliography[title=Cited]
\end{refsection}


\nocite{*}
\printbibliography[title=All]

\end{document}

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

4
  • 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
    Commented Mar 30, 2014 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
    Commented Mar 30, 2014 at 21:02
  • I use the subfile package.
    – liloka
    Commented Mar 31, 2014 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
    Commented Mar 31, 2014 at 10:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .