I am using Citavi to create my bib-files. The Applicant field of patents in Citavi is exported to the holder
bibtex field.
There are many entries in the form of "Glaxo Group, Ltd.", which Citavi exports as
holder = {{Glaxo Group}, Ltd.}
and biblatex
(using chem-angew
) prints this as "L. Glaxo Group".
Because I can't change the output of the Citavi export and I do not want to manually change my bib-file everytime I export it from Citavi, I would either need to have my code change the value of the field to
holder = {{Glaxo Group, Ltd.}}
or similar or have only the holder
field not use abbreviated Names and print "Last Name, First Name", I guess.
The latter I achieved by declaring my own name format patentcompany
and using that format in the renewed bibmacro byholder
(see MWE below). But I would still like to know:
Is it possible to modify the content of the holder
field as described above?
MWE:
\documentclass{article}
\usepackage[backend=biber, style=chem-angew]{biblatex}
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@patent{Bertani.2007,
abstract = {Iodierung ist Preparation 60, PDF-S. 95},
author = {Bertani, Barbara and Bonanomi, Giorgio and Capelli, Anna Maria and Checchia, Anna and Di Fabio, Romano and Gentile, Gabriella and Micheli, Fabrizio and Pasquarello, Alessandra and Tedesco, Giovanna and Terreni, Silvia},
year = {2007},
title = {Azabicyclo[3.1.0]hexyl Derivatives as Modulators of Dopamine D3 Receptors},
Holder = {{Glaxo Group}, Ltd.},
number = {WO 2007/113232 A1},
type = {Patent}
}
@patent{Chobanian.2009,
author = {Chobanian, Harry and Lin, Linus S. and Liu, Ping and Chioda, Marc D. and Devita, Robert J. and Nargund, Ravi P. and Guo, Yan},
year = {2009},
title = {Oxazole derivatives useful as inhibitors of faah},
Holder = {{Merck {\&} Co.}, Inc.},
number = {WO 2010/017079 A1},
type = {Patent}
}
@patent{Hongu.2002,
author = {Hongu, Mitsuya and Hosaka, Thoshihiro and Kashiwagi, Toshihiko and Kono, Rikako and Kobayashi, Hiroyuki},
year = {2002},
title = {Imidazole, thiazole and oxazole derivatives and their use for the manufacture of a medicament for the treatment and/or prevention of pollakiuria or urinary incontinence},
Holder = {{Tanabe Seiyaku Co.}, Ltd.},
number = {WO 2002/083111 A2},
type = {Patent}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\DeclareNameFormat{patentcompany}{%
\nameparts{#1}%
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\usebibmacro{name:andothers}%
}
\renewbibmacro*{byholder}{%
\ifnameundef{holder}%
{}
{\printtext[parens]{\printnames[patentcompany]{holder}}}
}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
{Glaxo Group, Ltd.}
holder = {{{Glaxo Group}, Ltd.}}
.Holder = {{{Glaxo Group}, Ltd.}},
should work withbiblatex
3.11/Biber 2.11 following tex.stackexchange.com/q/414685/35864 and github.com/plk/biber/issues/210. But it is still wrong. A general rule is to place as few braces in a name field as possible. Biber has a really hard time juggling all the demands for braces and their meanings: github.com/plk/biber/issues/215