If you want to do this using biber, I'd recommend using the sourcemap
feature, it's cleaner than adding a category via an index format. This alters the input stream (without altering the .bib file) so that the keyword "knuth" is added to all works with matching "Knuth" as the author, which you can then filter on:
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldsource=author,
match=Knuth,
final]
\step[fieldset=keywords, fieldvalue=knuth]
}
}
}
\printbibliography[keyword=knuth]
\printbibliography[notkeyword=knuth]
In your example as well as in my attempt at a solution, biblatex
/biber don't stabilize (latexmk stops after the 5th compilation run); nevertheless, the output seems to be what you want:
Use \addsectionbib
for the first bibliography resource;
Enclose your first section within a refsection
environment, and specify the first resource as the environment's optional argument;
Use \nocite{*}
within the refsection
.
EDIT: The solution doesn't rely on keywords, so I omitted them.
\documentclass{article}
\usepackage[firstinits=true, isbn=false, url=false, doi=false, style=ieee, defernumbers=true, sorting=ydnt, bibstyle=ieee, maxnames=5]{biblatex}
\begin{filecontents}{\jobname-bib1.bib}
@BOOK{hectic2000,
AUTHOR= {Henry Hectic},
TITLE = {How Horticulturalists Howl},
PUBLISHER = {Honorary Books: Henage},
YEAR = {2000},
}
@BOOK{hectic2001,
AUTHOR= {Henry Hectic},
TITLE = {How Horticulturalists Howl},
PUBLISHER = {Honorary Books 2: Henage},
YEAR = {2001},
}
@ARTICLE{Doe2009,
author = {Jon Doe},
journal = {Transactions on Stuff},
month = 03,
number = {3},
pages = {1--11},
title = {{Example 1}},
volume = {5},
year = {2009},
}
\end{filecontents}
\begin{filecontents}{\jobname-bib2.bib}
@ARTICLE{Kim2012,
author = {Y Kim},
journal = {Transactions on Other Stuff},
month = 01,
number = {1},
pages = {1--11},
title = {{Example 3}},
volume = {5},
year = {2012},
}
@ARTICLE{Jane2010,
author = {Jane Doe},
journal = {Transactions on Stuff},
month = 01,
number = {1},
pages = {1--11},
title = {{Example 2}},
volume = {5},
year = {2010},
}
\end{filecontents}
\addsectionbib{\jobname-bib1.bib}
\addbibresource{\jobname-bib2.bib}
\begin{document}
\begin{refsection}[\jobname-bib1.bib]
\nocite{*}
\section{My Bib}
\printbibliography[heading=subbibliography,title={{\small Book Chapters}},type=book,prefixnumbers={B}]
\printbibliography[heading=subbibliography,title={{\small Journals}},type=article,prefixnumbers={J}]
\end{refsection}
\section{Main Text}
Now I am citing \cite{Jane2010}. I want new references.
\printbibliography
\end{document}
Best Answer
I found the answer for my question on myself - the solution is:
in the preamble:
then: