I'm not sure on how to list a piece of software in my bibliography. Seems like bibs are made in a time when licences didn't bother anybody yet. ;-) What I by now do is this:
@misc{ref2,
Author = {xceedsoftware},
Title = {wpftoolkit},
Note = {\url{https://github.com/xceedsoftware/wpftoolkit}},
Version = {Ms-PL}
},
But this does not really match what I need because it lists the licence as Version Ms-PL. Whats the correct way of handling licences in softwarepackages I have to reference?
MWE solution:
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[sfdefault,light]{FiraSans}
\begin{filecontents}{license.dbx}
\DeclareDatamodelFields[type=field,datatype=literal]{license}
\DeclareDatamodelEntryfields[software]{license}
\end{filecontents}
\usepackage[backend=biber, style=numeric, defernumbers, datamodel=license]{biblatex}
\DeclareBibliographyCategory{skipbibliography}
\DeclareCiteCommand{\cite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\addtocategory{skipbibliography}{\thefield{entrykey}}%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
\usepackage{csquotes}
\appto{\bibsetup}{\emergencystretch=1em}
\NewBibliographyString{license}
\DefineBibliographyStrings{english}{license = {license},}
\DefineBibliographyStrings{german}{license = {Lizenz},}
\DeclareFieldFormat{license}{\bibstring{license}\addcolon\space#1}
\renewbibmacro{addendum+pubstate}{%
\printfield{license}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\printfield{pubstate}}
\begin{filecontents}{\jobname.bib}
@software{wpf,
author = {{Xceed}},
title = {Extended WPF Toolkit},
url = {https://github.com/xceedsoftware/wpftoolkit},
license = {Ms-PL},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,wpf}
\printbibliography
\end{document}

addendum(its like a secondnotefield). Whether it is displayed or not depends on your bibliography style. – TeXnician Sep 17 '18 at 06:24biblatex? What style do you use? Can you show us a minimal example document that shows this entry in action, please? (If you really usebiblatexdon't use thenotefield to display the URL, use the dedicatedurlfield) – moewe Sep 17 '18 at 06:24.logor.blgfile after the LaTeX, Biber, LaTeX, LaTeX compilation cycle? (4) What version ofbiblatexand Biber are you running? – moewe Sep 17 '18 at 19:00\DefineBibliographyStrings{german}{license = {Lizenz},}if you want a German translation as well. – moewe Sep 18 '18 at 04:42