I'm using biblatex for the scientific resources I'm citing. But I also want to add a second list for all online sources that I reference. I have split the bibliography in one file references.bib
and one online.bib
and I print two bibliographies with:
\printbibliography[heading=bibintoc, nottype=online]
\printbibliography[title={Web References}, type=online]
I use the alphabetic-verb
bibliography style which uses keys/labels like [ABD+14], which are the author initials and the date of publication.
The problem is, for the online source I often don't know the authors or the publication date. In the case that I don't have authors I would like to build the key using the first letters of the title.
How can I customize the bibliography key to be build from the title in the case, that no author is specified?
My MWE:
\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{filecontents}
\usepackage[natbib=true,backend=biber,style=alphabetic-verb]{biblatex}
\begin{filecontents}{references.bib}
@Article{a,
author = {Some Author and Some Otherauthor and More Of Thiskind and A Longlist},
title = {Some Paper Title},
journal = {Journal of Papers},
year = {2018},
}
@InProceedings{b,
author = {Some Author and Some Otherauthor},
title = {Some Other Paper Title},
journal = {Journal of Papers},
year = {2019},
}
\end{filecontents}
\begin{filecontents}{online.bib}
@online{texoverflow,
title={TeX Stack Exchange},
shorttitle={TeX},
urldate={2020-01},
url={https://tex.stackexchange.com/},
note = {\url{https://web.archive.org/web/20200101144309/https://tex.stackexchange.com/}},
}
\end{filecontents}
\addbibresource{references.bib}
\addbibresource{online.bib}
\begin{document}
Two papers \cite{a,b}.
Tex StackExchange is an online community\footnote{Stackoverflow: \cite{texoverflow}}.
\printbibliography[heading=bibintoc, nottype=online]
\printbibliography[title={Web References}, type=online]
\end{document}
Results in:
But I would like to have something like [Tex] as key for the online reference.
Edit I've added an entry with only two authors to also cover this case.