I would like to automatically put in one section all the references that are coming from the main text, and in another section all the references that are coming from the Appendix and which are not already cited in main text.
I'm aware of this question, but it does not solve my issue since:
- either duplicated references are not removed from the appendix
- either I have to manually tag each reference (by using a different cite command or a different
.bib
file), and I don't want to do that myself as it's super hard to always keep track of where citations appear in a constantly moving text with potentially multiple co-authors.
I'm fine with either bibtex or biblatex solutions.
MWE:
\documentclass{article}
\usepackage{filecontents}
\usepackage{biblatex}
\begin{filecontents}{myrefs.bib}
@Book{Knuth:1990,
author = {Knuth, Donald E.},
title = {The {\TeX}book},
year = {1990},
isbn = {0-201-13447-0},
publisher = {Addison\,\textendash\,Wesley},
}
@Book{Lamport:94,
author = {Lamport, Leslie},
title = {\LaTeX: A Document Preparation System},
year = {1994},
isbn = {0-021-52983-1},
publisher = {Addison\,\textendash\,Wesley},
}
\end{filecontents}
\addbibresource{myrefs.bib}
\begin{document}
\section{First}
{\LaTeX} is aTuring-complete
(procedural) markup language and
typesetting processor~\parencite{Lamport:94}.
\printbibliography
\appendix
\section{Second}
\begin{refsection}
The ultimate reference of {\TeX} is~\parencite{Knuth:1990} and \parencite{Lamport:94}, which should NOT be cited in this section.
\printbibliography[heading=subbibliography]
\end{refsection}
\end{document}