I use the splitbib
package to create two categories: primary literature and secondary literature. But I want to add in the table of contents an entry for each category, as if they are subsections or something like that. Moreover, I want also to split each category but the first in a new page.
MWE:
\documentclass{article}
\usepackage[nottoc]{tocbibind}
\usepackage[export]{splitbib}
\begin{category}{Primary Literature}
\SBentries{samplea}
\end{category}
\begin{category}{Secondary Literature}
\SBentries{sampleb}
\end{category}
\begin{document}
\pagestyle{empty}
\tableofcontents
\begin{thebibliography}{99}
\bibitem[Sample, A]{samplea} Sample A.
\bibitem[Sample, B]{sampleb} Sample B.
\end{thebibliography}
\end{document}
Output:
and I want to add in the table of contents, like a subsection, an entry for the category Primary Literature and Secondary Literature, and to split the second category (and third, fourth and so on) in a separated page.
How can be this achieved?