I have this entry in my bib file, which is a book, but lacks location, publisher and year information. I have it in the following form:
@Book{ARBED1965,
author = {{Aciéries Réunies de Burbach-Eich-Dudelange}},
shortauthor = {{ARBED}},
title = {Un demi-siècle d'histoire industrielle 1911--1964},
date = {1965~},
date+an = {=attributed},
}
I do employ a "circa" date there, provided by biblatex, alongside with the corresponding datecirca
option. But that leaves me with an undesired capitalized "Ca." in my bibliography.
Aciéries Réunies de Burbach-Eich-Dudelange. Un demi-siècle d’histoire indus- trielle 1911–1964. Ca. 1965.
It is easy to understand why this happens, in the absence of publisher and location information in the context of the book
bibdriver. We could also argue whether @book
is the proper entrytype in this case. We could also argue whether "circa" should or shouldn't be capitalized in this case (I happen not to like it). I'd like though to tackle a simple technical aspect of this, which is: what is the proper way to avoid automatic capitalization of a particular localization string in all circumstances?
The only thing I could come up with is \midsentence
, as in:
\DefineBibliographyStrings{english}{%
circa = {\midsentence{}ca\adddot},
}
Is this really the best alternative for the case?
A MWE:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{ARBED1965,
author = {{Aciéries Réunies de Burbach-Eich-Dudelange}},
shortauthor = {{ARBED}},
title = {Un demi-siècle d'histoire industrielle 1911--1964},
date = {1965~},
date+an = {=attributed},
}
\end{filecontents}
\usepackage[style=authortitle, datecirca=true]{biblatex}
\addbibresource{\jobname.bib}
\DeclareFieldFormat{date}{%
\ifdateannotation{date}{attributed}{\mkbibbrackets{#1}}{#1}}
\DefineBibliographyStrings{english}{%
circa = {\midsentence{}ca\adddot},
}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
.lbx
files iscirca = {{}ca\adddot},
(fromgerman.lbx
:nodate = {{ohne\space Datum}{{}o\adddot D\adddot}},
). The\midsentence
shouldn't do a lot here, since the decision whether or not to capitalise should already have been taken when the string gets read.\midsentence
(though it does work). Would you like to convert your comment to an answer?