I am using biblatex and I would like to change the format of the type patent.
I had a look at the driver and to begin with I am wondering why the date is in the driver, but is not displayed in an entry. Also I tried to change the order of holder and author, but this is somehow not working. Is there a good manual explaining how to adjust the drivers?
Attached you find a minimal working example with the way a patent is presented right now and with an example I would like to have it.
Thanks for the help.
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Patent{Murata2007,
author = {Murata, Yutaka and Ogawa, Masao},
title = {Sitzkonstruktion für ein Motorrad},
number = {DE602004003996T2},
year = {2007},
date = {2007-05-10},
holder = {{HONDA MOTOR LTD.}},
type = {patentde},
}
\end{filecontents}
\documentclass[a4paper,11pt,DIV=calc, titlepage]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[%
left=4cm,right=2.5cm,top=2.0cm,bottom=2cm,
includeheadfoot
]{geometry}
\usepackage[babel, german=quotes]{csquotes}
\usepackage[%
style=authoryear-ibid,
natbib=true,
maxbibnames=3,
maxcitenames=2,
uniquelist=false,
uniquename=false,
backend=biber
]{biblatex}
\addbibresource{\jobname.bib}
\usepackage[hidelinks]{hyperref}
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}} %Zitat und Lit in Kapitätlchen
\DefineBibliographyStrings{ngerman}{ % et al instead of "und" with 3 or more authors
andothers = {{et\,al\adddot}}, }
\renewcommand{\multinamedelim}{\addsemicolon\space} % <=================
%\renewcommand{\finalnamedelim}{\multinamedelim} % <=====================
\DeclareNameAlias{sortname}{family-given} %Sort: Last name, first name
\DeclareNameAlias{default}{family-given} %Sort: Last name, first name
\DeclareFieldFormat[%
article,inbook,incollection,inproceedings,patent,thesis,unpublished,
report, norm, phdthesis, other, misc
]{citetitle}{#1} %Remove quotation marks from title
\DeclareFieldFormat[%
article,inbook,incollection,inproceedings,patent,thesis,unpublished,
report, norm, phdthesis, other, misc
]{title}{#1} %Remove quotation marks from title
%Driver for patent:
%------------
\DeclareBibliographyDriver{patent}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\setunit{\printdelim{nametitledelim}}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{type}%
\setunit*{\addspace}%
\printfield{number}%
\iflistundef{location}
{}
{\setunit*{\addspace}%
\printtext[parens]{%
\printlist[][-\value{listtotal}]{location}}}%
\newunit\newblock
\usebibmacro{byholder}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{date}% The date is here, but it is not displayed
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{bbx:related}
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
\usebibmacro{finentry}}
%--------------
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}\adddot} % <===================================
%Fullcite change: Write out all authors up to 3
\preto\fullcite{\AtNextCite{\defcounter{maxnames}{3}}}
\begin{document}
The patent using \textbackslash fullcite and in the bibliography should look like this:\\
HONDA MOTOR LTD. (2007). Sitzkonstruktion für ein Motorrad. Erfinder: Murata, Yutaka \& Ogawa Masao. Dt. Pat. DE602004003996T2. Date published: 10.05.2007\\
Fullcite:\\
\fullcite{Murata2007}\\\\
\begingroup
\phantomsection\addcontentsline{toc}{section}{Literaturverzeichnis}
\printbibliography[title={Literaturverzeichnis}]
\endgroup
\end{document}
year = {2007}, date = {2007-05-10},
should just bedate = {2007-05-10},
If you want to display the date twice here, what do you want to do with other sources? Do you always want the date twice? Do you only want it twice if its precision is finer than a year?