This is a follow-up question to Using \footcite and \cite with \printbibliography
I have to have two kind of references in my document. Footnotes that reference web sources and the standard references at the end of the document.
The goal is, that the footnote references do not appear in the bibliography. Therefore, I used the referenced approach which works fine. The only problem is, that the references in the bibliography skip numbers. Is there any way around this?
\documentclass{article}
\usepackage[backend=biber, style=numeric]{biblatex}
\addbibresource{references.bib}
\DeclareBibliographyCategory{skipbib}
\DeclareCiteCommand{\myfootcite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\addtocategory{skipbib}{\thefield{entrykey}}%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
\begin{document}
Lorem ipsum \cite{handa_nepomuk_2013} test\myfootcite{colomb_ontology_2007} dolor\myfootcite{adams1995hitchhiker} sit amet.
\printbibliography[notcategory=skipbib]
\end{document}
references.bib:
@book{adams1995hitchhiker,
title={The Hitchhiker's Guide to the Galaxy},
author={Adams, D.},
isbn={9781417642595},
url={http://books.google.com/books?id=W-xMPgAACAAJ},
year={1995},
publisher={San Val}
}
@book{colomb_ontology_2007,
title = {Ontology and the semantic web},
isbn = {9781586037291},
pagetotal = {258},
publisher = {{IOS} Press},
author = {Colomb, Robert M.},
date = {2007}
}
@letter{handa_nepomuk_2013,
title = {Nepomuk in 4.13 and beyond},
url = {https://mail.kde.org/pipermail/nepomuk/2013-December/004858.html},
type = {E-mail},
author = {Handa, Vishesh},
urldate = {2014-12-01},
date = {2013-12-12},
}
Result:
\documentclass
and ending with\end{document}
.