I’m trying to create a bibliography with biblatex with two different styles. This means author, year citation for papers and books, and for online citations a numeric style. Is it possible?
\documentclass{article}
\usepackage[sorting=nyt,style=authoryear, backend=bibtex8]{biblatex}
\addbibresource{dummy}
\DeclareCiteCommand{\parencite}
{\ifentrytype{online}{\bibopenbracket}{\bibopenparen}%
\usebibmacro{prenote}}%
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}%
\ifentrytype{online}{\bibclosebracket}{\bibcloseparen}}
\begin{document}
\parencite{Rouhiainen.2004}
\parencite{Wikipedia.27.02.2017}
\printbibliography[heading=bibintoc,title={Literature},nottype=online]
\printbibliography[heading=bibintoc,title={ Internet Sources },type=online]
\end{document}
The conteste of the .bib file are:
@online{Wikipedia.27.02.2017,
author = {Wikipedia, the free encyclopedia},
year = {2017},
title = {MALDI-TOF},
url = {https://de.wikipedia.org/wiki/MALDI-TOF},
urldate = {02.06.2017}
}
@article{Rouhiainen.2004,
author = {Rouhiainen, Leo and Vakkilainen, Tanja and Siemer, Berit Lumbye and Buikema, William and Haselkorn, Robert and Sivonen, Kaarina},
year = {2004},
title = {Genes coding for hepatotoxic heptapeptides (microcystins) in the cyanobacterium Anabaena strain 90},
pages = {686--692},
volume = {70},
number = {2},
issn = {0099-2240},
journal = {Applied and environmental microbiology}
}